Fix assert in IndexCastUI folding and add tests for both IndexCastOp and IndexCastUIOp folding
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/Arith/canonicalize.mlir | ||
---|---|---|
333 | This is super confusing to read! Not an issue with this patch though. I guess its an issue with printer.... I would rather hope that printer prints in unsigned form by default. |
mlir/test/Dialect/Arith/canonicalize.mlir | ||
---|---|---|
333 | Yes this is quite confusing. This is the same in llvm if I recall. Not sure there is an easy solution since it really depends on the context. |
This is super confusing to read! Not an issue with this patch though. I guess its an issue with printer.... I would rather hope that printer prints in unsigned form by default.