================
@@ -37,9 +37,11 @@ cond.end: ; preds =
%entry, %cond.true
; CHECK: testq
; CHECK: je
; CHECK: callq alloc
+; CHECK-NEXT: nop
----------------
sivadeilra wrote:
>From my testing, MSVC actually does insert a NOP before the SEH epilogue. The
>tricky part is convincing MSVC to avoid tail-call optimization. Compiling
>with optimizations disabled, I see a CALL / NOP / epilogue sequence in this
>code, compiled as C with exceptions disabled. Same results with /EHa.
```
void foo(int);
void bar() {
foo(42);
}
```
https://github.com/llvm/llvm-project/pull/144745
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits