summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/win32-seh-nested-finally.ll')
-rw-r--r--llvm/test/CodeGen/X86/win32-seh-nested-finally.ll13
1 files changed, 8 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll b/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll
index 9db8f996c03..2f772f6a871 100644
--- a/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll
+++ b/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll
@@ -43,20 +43,23 @@ attributes #3 = { noinline }
; CHECK: movl $-1, -[[state:[0-9]+]](%ebp)
; CHECK: movl {{.*}}, %fs:0
; CHECK: movl $1, -[[state]](%ebp)
-; CHECK: movl $1, (%esp)
+; CHECK: pushl $1
; CHECK: calll _f
+; CHECK: addl $4, %esp
; CHECK: movl $0, -[[state]](%ebp)
-; CHECK: movl $2, (%esp)
+; CHECK: pushl $2
; CHECK: calll _f
+; CHECK: addl $4, %esp
; CHECK: movl $-1, -[[state]](%ebp)
-; CHECK: movl $3, (%esp)
+; CHECK: pushl $3
; CHECK: calll _f
+; CHECK: addl $4, %esp
; CHECK: retl
; CHECK: LBB0_[[inner:[0-9]+]]: # %ehcleanup
; CHECK: pushl %ebp
; CHECK: addl $12, %ebp
-; CHECK: movl $2, (%esp)
+; CHECK: pushl $2
; CHECK: calll _f
; CHECK: popl %ebp
; CHECK: retl
@@ -64,7 +67,7 @@ attributes #3 = { noinline }
; CHECK: LBB0_[[outer:[0-9]+]]: # %ehcleanup.3
; CHECK: pushl %ebp
; CHECK: addl $12, %ebp
-; CHECK: movl $3, (%esp)
+; CHECK: pushl $3
; CHECK: calll _f
; CHECK: popl %ebp
; CHECK: retl
OpenPOWER on IntegriCloud