Canonicalize cmpi(eq, ext a, ext b) and cmpi(ne, ext a, ext b)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Arithmetic/IR/ArithmeticCanonicalization.td | ||
---|---|---|
119 | Isn't type equality here guaranteed by cmpi semantics? |
mlir/lib/Dialect/Arithmetic/IR/ArithmeticCanonicalization.td | ||
---|---|---|
119 | Not necessarily, since you could exti(i8 -> i32) == exti(i16 -> i32), the two inner types may not be equal. |
Isn't type equality here guaranteed by cmpi semantics?