================ @@ -37,9 +37,11 @@ cond.end: ; preds = %entry, %cond.true ; CHECK: testq ; CHECK: je ; CHECK: callq alloc +; CHECK-NEXT: nop ---------------- sivadeilra wrote:
I believe it is necessary because it is immediately before `.seh_startepilogue`. If `alloc` unwinds, then IP2State will point into the epilogue, and the unwinder won't run the handler for that region. MSVC should also insert a NOP in this situation. https://github.com/llvm/llvm-project/pull/144745 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits