summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-03-30 23:38:01 +0000
committerHans Wennborg <hans@hanshq.net>2016-03-30 23:38:01 +0000
commit6596977130f9fb5179b16d3c3c291c69efd627bb (patch)
tree947efc1f13ea3ee726a20057903113f151c3dd88 /llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll
parent0e450a5d61795a2ca9160a34a75855fd1d16e16c (diff)
downloadbcm5719-llvm-6596977130f9fb5179b16d3c3c291c69efd627bb.tar.gz
bcm5719-llvm-6596977130f9fb5179b16d3c3c291c69efd627bb.zip
[X86] Enable call frame optimization ("mov to push") not only for optsize (PR26325)
The size savings are significant, and from what I can tell, both ICC and GCC do this. Differential Revision: http://reviews.llvm.org/D18573 llvm-svn: 264966
Diffstat (limited to 'llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll')
-rw-r--r--llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll b/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll
index aecae89aee5..94501b5764e 100644
--- a/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll
+++ b/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll
@@ -64,9 +64,9 @@ false:
; CHECK: cmpl %edx, %eax
; CHECK: jge LBB1_2
; CHECK: pushl %eax
-; CHECK: movl $4100, %eax
+; CHECK: movl $4092, %eax
; CHECK: calll __chkstk
-; CHECK: movl 4100(%esp), %eax
+; CHECK: movl 4092(%esp), %eax
; CHECK: calll _doSomething
; CHECK: LBB1_2:
; CHECK: retl
OpenPOWER on IntegriCloud