https://github.com/nikic approved this pull request. LGTM I haven't verified, but there's probably another issue within one block, if there is a non-willreturn instruction interleaved with the loads. https://github.com/llvm/llvm-project/pull/223915