diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-03-30 23:38:01 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-03-30 23:38:01 +0000 |
commit | 6596977130f9fb5179b16d3c3c291c69efd627bb (patch) | |
tree | 947efc1f13ea3ee726a20057903113f151c3dd88 /llvm/test/CodeGen/X86/tailcall-stackalign.ll | |
parent | 0e450a5d61795a2ca9160a34a75855fd1d16e16c (diff) | |
download | bcm5719-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/tailcall-stackalign.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/tailcall-stackalign.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/tailcall-stackalign.ll b/llvm/test/CodeGen/X86/tailcall-stackalign.ll index d3f811cff24..256477d52cd 100644 --- a/llvm/test/CodeGen/X86/tailcall-stackalign.ll +++ b/llvm/test/CodeGen/X86/tailcall-stackalign.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=i686-unknown-linux -tailcallopt | FileCheck %s +; RUN: llc < %s -mtriple=i686-unknown-linux -tailcallopt -no-x86-call-frame-opt | FileCheck %s ; Linux has 8 byte alignment so the params cause stack size 20 when tailcallopt ; is enabled, ensure that a normal fastcc call has matching stack size |