AZero13 wrote: There are some regressions but this is purely luck; what is happening is that CSE happens when cmn 1 was adjusted to cmp 0 in some cases, particulary when cmp 0 allows the folding of some things from and to ands. https://github.com/llvm/llvm-project/pull/140999