Fix affine LICM for side-effecting ops. The code was special-cased for
DMA ops. Generalize it and use isMemoryEffectFree.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154783
[MLIR] Fix/generalize affine LICM check for side-effecting ops ClosedPublic Authored by bondhugula on Jul 9 2023, 3:07 AM.
Details Summary Fix affine LICM for side-effecting ops. The code was special-cased for
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 9 2023, 3:16 AM Closed by commit rG3d287a755bed: [MLIR] Fix/generalize affine LICM check for side-effecting ops (authored by bondhugula). · Explain WhyJul 10 2023, 1:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 538413 mlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
mlir/test/Dialect/Affine/affine-loop-invariant-code-motion.mlir
|