[llvm] [WinEH] Track changes in WinEHPrepare pass (PR #134121)

Aaron Puchert via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 05:55:34 PDT 2025


================
@@ -1137,6 +1151,8 @@ void WinEHPrepareImpl::removeImplausibleInstructions(Function &F) {
                          CB->isInlineAsm()))
           continue;
 
+        Changed = true;
----------------
aaronpuchert wrote:

We still execute `changeToUnreachable(&I)` in that case (see the `else` branch), and that seems to change something.

https://github.com/llvm/llvm-project/pull/134121


More information about the llvm-commits mailing list