Auto merge of #142546 - cjgillot:reachable-jump, r=compiler-errors

Only traverse reachable blocks in JumpThreading.

Fixes https://github.com/rust-lang/rust/issues/131451

We only compute loop headers for reachable blocks. We shouldn't try to perform an opt on unreachable blocks anyway.
This commit is contained in:
bors 2025-06-21 18:54:29 +00:00
commit 66d6dac3c8

Diff Content Not Available