Mark the relevant index dialect operations as Commutative. Specifically,
this allows the folder to move constant operands to the RHS.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153731
[mlir][index] Mark certain ops as Commutative ClosedPublic Authored by Mogball on Jun 25 2023, 5:50 PM.
Details Summary Mark the relevant index dialect operations as Commutative. Specifically,
Diff Detail
Event TimelineMogball added a child revision: D153732: [mlir][index] Fold `cmp(max/min(x, cstA), cstB)`.Jun 25 2023, 5:51 PM Mogball added a child revision: D153736: [mlir][index] Add `index.mul` identity folders.Jun 25 2023, 6:19 PM Mogball removed a child revision: D153736: [mlir][index] Add `index.mul` identity folders.Jun 25 2023, 6:25 PM This revision is now accepted and ready to land.Jun 26 2023, 11:43 AM Closed by commit rG3620af84d2ae: [mlir][index] Mark certain ops as Commutative (authored by Mogball). · Explain WhyJun 26 2023, 11:49 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 534391 mlir/include/mlir/Dialect/Index/IR/IndexOps.td
|