[WinEH] Call llvm.stackrestore in __except blocks
[oota-llvm.git] / test / CodeGen / X86 / seh-safe-div-win32.ll
index 669677970761787e5ff140c03442a2803d2e8c18..e5cbc587bb257747f42b57ca7d1caaaa207ed2bb 100644 (file)
@@ -77,11 +77,15 @@ __try.cont:
 
 ; CHECK: [[handler0:Ltmp[0-9]+]]: # Block address taken
 ; CHECK: # %handler0
+;      Restore SP
+; CHECK: movl {{.*}}(%ebp), %esp
 ; CHECK: calll _puts
 ; CHECK: jmp [[cont_bb]]
 
 ; CHECK: [[handler1:Ltmp[0-9]+]]: # Block address taken
 ; CHECK: # %handler1
+;      Restore SP
+; CHECK: movl {{.*}}(%ebp), %esp
 ; CHECK: calll _puts
 ; CHECK: jmp [[cont_bb]]