You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
How to understand "statically unpredictable data accesses or control flow"? #19
The presence of statically unpredictable data accesses or control flow does not preclude representation in MLIR, but only limits to a certain extent the ability to reason about and apply transformations using the polyhedral abstraction
Hi,
Unpredictable means data-dependent indexing or (loop/conditional) control flow. E.g. subscripting a memref with the return value of a function, or a value from another memref, will break the precise analyses of memref dependences, footprints, etc. Or a loop bound defined inductively from other values rather than a static affine expression (an attribute). The affine dialect typically enforces stronger restrictions on data access and control flow, but there are no such restrictions in general MLIR.
Thanks for your remark, I plan to improve the rationale doc to clarify accordingly.
Activity
albertcohen commentedon Apr 18, 2019
Hi,
Unpredictable means data-dependent indexing or (loop/conditional) control flow. E.g. subscripting a memref with the return value of a function, or a value from another memref, will break the precise analyses of memref dependences, footprints, etc. Or a loop bound defined inductively from other values rather than a static affine expression (an attribute). The affine dialect typically enforces stronger restrictions on data access and control flow, but there are no such restrictions in general MLIR.
Thanks for your remark, I plan to improve the rationale doc to clarify accordingly.
QiJune commentedon Apr 23, 2019
Thanks for the interpretation, It helps a lot!
Revert "[Concepts] Placeholder constraints and abbreviated templates"