MLIR
20.0.0git
|
Implements a simple high-level fusion pass on linalg structured operations. More...
Public Attributes | |
Value | shape |
unsigned | dimension |
Implements a simple high-level fusion pass on linalg structured operations.
In each block, linalg ops are processed in reverse textual order. Given a linalg op O
, fusion occurs by:
O
. There are 2 cases: a) buffer case: use the SSA value of the views and a simple alias analysis on subview ops to determine producer-consumer dependences; b) tensor case: use SSA use-def chains on extract_slice ops;More advanced use cases, analyses as well as profitability heuristics are left for future work.
Definition at line 56 of file Fusion.cpp.
unsigned ShapeDimension::dimension |
Definition at line 58 of file Fusion.cpp.
Value ShapeDimension::shape |
Definition at line 57 of file Fusion.cpp.