jayfoad wrote: I think it's important to understand why this changes behaviour. Is the new behaviour wrong or right or just adding/removing a missed optimization? https://github.com/llvm/llvm-project/pull/119768