artagnon wrote: Hi @dtcxzyw, thanks a lot for reporting the bug, and sorry for taking such a long time to reduce it. The regression is in loop-versioning, and I've opened #96656 to invetigate further. https://github.com/llvm/llvm-project/pull/92119