nikic wrote: Looks like there are more test failures in IndVarSimplify. https://github.com/dtcxzyw/llvm-opt-benchmark/pull/2536/files has lots of undesirable transforms where masking is introduced... https://github.com/llvm/llvm-project/pull/146992