[mlir][arith] Fold arith.cmpi eq, %val, %one : i1
-> %val
and arith.cmpi ne, %val, %zero : i1 -> %val
#124436
Merged
Hardcode84 merged 2 commits intollvm:mainfrom Hardcode84:fold-cmp-oneJan 27, 2025