diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/seh-catch-all.ll | 1 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/seh-catchpad.ll | 10 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/seh-exception-code.ll | 2 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll | 6 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/win32-seh-catchpad.ll | 1 |
5 files changed, 8 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/X86/seh-catch-all.ll b/llvm/test/CodeGen/X86/seh-catch-all.ll index 0c4f33f6300..aa1b6e040ff 100644 --- a/llvm/test/CodeGen/X86/seh-catch-all.ll +++ b/llvm/test/CodeGen/X86/seh-catch-all.ll @@ -34,7 +34,6 @@ endpad: ; CHECK: callq crash ; CHECK: retq ; CHECK: .LBB0_2: # %lpad -; CHECK: # %catchall ; CHECK: leaq str(%rip), %rcx ; CHECK: movl %eax, %edx ; CHECK: callq printf diff --git a/llvm/test/CodeGen/X86/seh-catchpad.ll b/llvm/test/CodeGen/X86/seh-catchpad.ll index b59aa8d4c78..93775b6aada 100644 --- a/llvm/test/CodeGen/X86/seh-catchpad.ll +++ b/llvm/test/CodeGen/X86/seh-catchpad.ll @@ -121,8 +121,6 @@ ehcleanup.end: ; preds = %ehcleanup ; CHECK: callq "?fin$0@0@main@@" ; CHECK: jmp .LBB1_[[epilogue]] ; CHECK: .LBB1_[[except2bb:[0-9]+]]: # %catch.dispatch.7 -; CHECK: jmp .LBB1_7 -; CHECK: # %__except.9 ; CHECK: leaq "??_C@_06IBDBCMGJ@caught?$AA@"(%rip), %rcx ; CHECK: callq puts ; CHECK: jmp .LBB1_[[epilogue]] @@ -145,18 +143,18 @@ ehcleanup.end: ; preds = %ehcleanup ; CHECK-NEXT: .long .Ltmp2@IMGREL+1 ; CHECK-NEXT: .long .Ltmp3@IMGREL+1 ; CHECK-NEXT: .long "?filt$0@0@main@@"@IMGREL -; CHECK-NEXT: .long .LBB1_6@IMGREL +; CHECK-NEXT: .long .LBB1_5@IMGREL ; CHECK-NEXT: .long .Ltmp6@IMGREL+1 ; CHECK-NEXT: .long .Ltmp7@IMGREL+1 ; CHECK-NEXT: .long "?filt$0@0@main@@"@IMGREL -; CHECK-NEXT: .long .LBB1_6@IMGREL +; CHECK-NEXT: .long .LBB1_5@IMGREL ; CHECK-NEXT: .Llsda_end0: ; CHECK: .text ; CHECK: .seh_endproc -; CHECK: "?dtor$4@?0?main@4HA": -; CHECK: .seh_proc "?dtor$4@?0?main@4HA" +; CHECK: "?dtor$3@?0?main@4HA": +; CHECK: .seh_proc "?dtor$3@?0?main@4HA" ; CHECK: .seh_handler __C_specific_handler, @unwind, @except ; CHECK: .LBB1_[[finbb]]: # %ehcleanup ; CHECK: movq %rdx, 16(%rsp) diff --git a/llvm/test/CodeGen/X86/seh-exception-code.ll b/llvm/test/CodeGen/X86/seh-exception-code.ll index 3a314553ca1..e481a8e308c 100644 --- a/llvm/test/CodeGen/X86/seh-exception-code.ll +++ b/llvm/test/CodeGen/X86/seh-exception-code.ll @@ -36,6 +36,6 @@ catchendblock: ; preds = %catch.dispatch ; CHECK: xorl %ecx, %ecx ; CHECK: callq f -; CHECK: # %__except +; CHECK: # %catch.dispatch ; CHECK: movl %eax, %ecx ; CHECK-NEXT: callq f diff --git a/llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll b/llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll index 9cc9118965c..24db1649eb8 100644 --- a/llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll +++ b/llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll @@ -61,7 +61,7 @@ declare i32 @_except_handler3(...) ; CHECK: calll _useit ; ; Epilogue -; CHECK: LBB0_1: # %__try.cont +; CHECK: LBB0_2: # %__try.cont ; CHECK: leal -12(%ebp), %esp ; CHECK: popl %esi ; CHECK: popl %edi @@ -69,7 +69,7 @@ declare i32 @_except_handler3(...) ; CHECK: popl %ebp ; CHECK: retl ; -; CHECK: LBB0_2: # %catch.dispatch +; CHECK: LBB0_1: # %catch.dispatch ; Restore ESP ; CHECK: movl -24(%ebp), %esp ; Recompute ESI by subtracting 60 from the end of the registration node. @@ -77,4 +77,4 @@ declare i32 @_except_handler3(...) ; Restore EBP ; CHECK: movl 12(%esi), %ebp ; Rejoin normal control flow -; CHECK: jmp LBB0_1 +; CHECK: jmp LBB0_2 diff --git a/llvm/test/CodeGen/X86/win32-seh-catchpad.ll b/llvm/test/CodeGen/X86/win32-seh-catchpad.ll index dd14f2df689..4e373af23e4 100644 --- a/llvm/test/CodeGen/X86/win32-seh-catchpad.ll +++ b/llvm/test/CodeGen/X86/win32-seh-catchpad.ll @@ -220,7 +220,6 @@ catchendblock: ; preds = %catch.dispatch ; CHECK: # %catch.dispatch ; CHECK-NEXT: movl -24(%ebp), %esp ; CHECK-NEXT: addl $12, %ebp -; CHECK: # %__except.ret ; CHECK-NEXT: movl $-1, -16(%ebp) ; CHECK-NEXT: movl $2, (%esp) ; CHECK-NEXT: calll _f |