The folder used cast<IntegerType> which would segfault if the type were
a vector type. Handle this case appropriately and avoid failure.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D137345
[mlir][Arith] Fix folder of CmpIOp to not fail when element type is not integer. ClosedPublic Authored by mravishankar on Nov 3 2022, 10:59 AM.
Details Summary The folder used cast<IntegerType> which would segfault if the type were
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 3 2022, 11:03 AM Closed by commit rG38f34e587d10: [mlir][Arith] Fix folder of CmpIOp to not fail when element type is not integer. (authored by mravishankar). · Explain WhyNov 3 2022, 1:39 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472986 mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/test/Dialect/Arith/canonicalize.mlir
|
delete?