Handle the splat and dense case.
I saw this pattern show up in a couple recent SPIR-V-specific bug
report.
Paths
| Differential D147109
[mlir][arith] Fold `index_cast[ui]` of vectors ClosedPublic Authored by kuhar on Mar 28 2023, 9:07 PM.
Details Summary Handle the splat and dense case. I saw this pattern show up in a couple recent SPIR-V-specific bug
Diff Detail
Event Timelinekuhar added a parent revision: D147104: [mlir][arith][NFC] Add missing index_cast fold tests.Mar 28 2023, 9:07 PM This revision is now accepted and ready to land.Mar 29 2023, 9:17 AM This revision was landed with ongoing or failed builds.Mar 29 2023, 9:52 AM Closed by commit rGce6a03ce0b82: [mlir][arith] Fold `index_cast[ui]` of vectors (authored by kuhar). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 509404 mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/test/Dialect/Arith/canonicalize.mlir
|