summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/push-cfi-debug.ll
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-04-07 00:05:49 +0000
committerHans Wennborg <hans@hanshq.net>2016-04-07 00:05:49 +0000
commitab16be799c24f3d10e71463b0a943723f9972d3c (patch)
tree976540ab68147897ad374803c88fd2cc62f13797 /llvm/test/CodeGen/X86/push-cfi-debug.ll
parent4c20bef1ef1d29e8824dbf68ee91f072dd1b2f09 (diff)
downloadbcm5719-llvm-ab16be799c24f3d10e71463b0a943723f9972d3c.tar.gz
bcm5719-llvm-ab16be799c24f3d10e71463b0a943723f9972d3c.zip
Re-commit r265039 "[X86] Merge adjacent stack adjustments in eliminateCallFramePseudoInstr (PR27140)"
Third time's the charm? The previous attempt (r265345) caused ASan test failures on X86, as broken CFI caused stack traces to not work. This version of the patch makes sure not to merge with stack adjustments that have CFI, and to not add merged instructions' offests to the CFI about to be generated. This is already covered by the lit tests; I just got the expectations wrong previously. llvm-svn: 265623
Diffstat (limited to 'llvm/test/CodeGen/X86/push-cfi-debug.ll')
-rw-r--r--llvm/test/CodeGen/X86/push-cfi-debug.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/push-cfi-debug.ll b/llvm/test/CodeGen/X86/push-cfi-debug.ll
index 1dfe64e6980..66023992d55 100644
--- a/llvm/test/CodeGen/X86/push-cfi-debug.ll
+++ b/llvm/test/CodeGen/X86/push-cfi-debug.ll
@@ -23,7 +23,7 @@ declare x86_stdcallcc void @stdfoo(i32, i32) #0
; CHECK: .cfi_adjust_cfa_offset 4
; CHECK: calll stdfoo
; CHECK: .cfi_adjust_cfa_offset -8
-; CHECK: addl $8, %esp
+; CHECK: addl $20, %esp
; CHECK: .cfi_adjust_cfa_offset -8
define void @test1() #0 !dbg !4 {
entry:
OpenPOWER on IntegriCloud