summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/mcu-abi.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/mcu-abi.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/mcu-abi.ll')
-rw-r--r--llvm/test/CodeGen/X86/mcu-abi.ll12
1 files changed, 4 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/X86/mcu-abi.ll b/llvm/test/CodeGen/X86/mcu-abi.ll
index 263ddcf080e..1cc277c863f 100644
--- a/llvm/test/CodeGen/X86/mcu-abi.ll
+++ b/llvm/test/CodeGen/X86/mcu-abi.ll
@@ -93,14 +93,10 @@ define i32 @test_lib_args(float %a, float %b) #0 {
}
; CHECK-LABEL: test_fp128:
-; CHECK: movl (%eax), %e[[CX:..]]
-; CHECK-NEXT: movl 4(%eax), %e[[DX:..]]
-; CHECK-NEXT: movl 8(%eax), %e[[SI:..]]
-; CHECK-NEXT: movl 12(%eax), %e[[AX:..]]
-; CHECK-NEXT: movl %e[[AX]], 12(%esp)
-; CHECK-NEXT: movl %e[[SI]], 8(%esp)
-; CHECK-NEXT: movl %e[[DX]], 4(%esp)
-; CHECK-NEXT: movl %e[[CX]], (%esp)
+; CHECK: pushl 12(%eax)
+; CHECK-NEXT: pushl 8(%eax)
+; CHECK-NEXT: pushl 4(%eax)
+; CHECK-NEXT: pushl (%eax)
; CHECK-NEXT: calll __fixtfsi
define i32 @test_fp128(fp128* %ptr) #0 {
%v = load fp128, fp128* %ptr
OpenPOWER on IntegriCloud