This is an archive of the discontinued LLVM Phabricator instance.

[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
report.

Diff Detail

Event Timeline

kuhar created this revision.Mar 28 2023, 9:07 PM
kuhar requested review of this revision.Mar 28 2023, 9:07 PM
kuhar updated this revision to Diff 509210.Mar 28 2023, 9:11 PM

Fix typos

antiagainst accepted this revision.Mar 29 2023, 9:17 AM
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
This revision was automatically updated to reflect the committed changes.