MuellerMP wrote: This is how far i could reduce the orginal sample. (Still repros on trunk https://llvm.godbolt.org/z/bh8boEvff) It requires the debug value + phi setup to trigger this specific issue with debug values at the end of an MBB. https://github.com/llvm/llvm-project/pull/115276