Files
clang-p2996/mlir/lib/Dialect/Arith
7FM 619e4b7154 [MLIR][Arith] SelectOp fix invalid folding (#117555)
The pattern `select %x, true, false => %x` is only valid in case that
the return type is identical to the type of `%x` (i.e., i1). Hence, the
check `isInteger(1)` was replaced with `isSignlessInteger(1)`.

Fixes: https://github.com/llvm/llvm-project/issues/117554
2024-11-26 09:11:00 -05:00
..
2024-10-04 09:23:12 +02:00