[clang] [llvm] Fix Windows EH IP2State tables (remove +1 bias) (PR #144745)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 14:51:43 PDT 2025


================
@@ -101,7 +101,8 @@ define void @f5() "frame-pointer"="all" {
 ; CHECK-NEXT:    .seh_endprologue
 ; CHECK-NEXT:    leaq -92(%rbp), %rcx
 ; CHECK-NEXT:    callq external
-; CHECK-NEXT:    nop
+; UEFI does not have SEH, so does not require NOP
+; WIN64-NEXT:    nop
----------------
sivadeilra wrote:

Happy to do that -- I'm just not familiar with updating those kind of tests yet.  In this case, this test is run 4 times, with different parameters.  Will `update_llc_test_checks.py` know how to do the right thing?  The NOP will only be present in 2 out of the 4 tests.  What should the ideal patch look like, here?

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


More information about the llvm-commits mailing list