aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2010-04-08-CoalescerBug.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-06 07:58:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-06 07:58:36 +0000
commit461f1fc359dff438dad25e809499845b10a3d032 (patch)
tree143a2a682ffdd84409d6bd1673e22630d42d565e /test/CodeGen/X86/2010-04-08-CoalescerBug.ll
parentcce240d26bbf1c2bec9cfff4838d8d807b215586 (diff)
downloadexternal_llvm-461f1fc359dff438dad25e809499845b10a3d032.zip
external_llvm-461f1fc359dff438dad25e809499845b10a3d032.tar.gz
external_llvm-461f1fc359dff438dad25e809499845b10a3d032.tar.bz2
Use movups to lower memcpy and memset even if it's not fast (like corei7).
The theory is it's still faster than a pair of movq / a quad of movl. This will probably hurt older chips like P4 but should run faster on current and future Intel processors. rdar://8817010 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-04-08-CoalescerBug.ll')
-rw-r--r--test/CodeGen/X86/2010-04-08-CoalescerBug.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2010-04-08-CoalescerBug.ll b/test/CodeGen/X86/2010-04-08-CoalescerBug.ll
index 1c7c28c..09b7711 100644
--- a/test/CodeGen/X86/2010-04-08-CoalescerBug.ll
+++ b/test/CodeGen/X86/2010-04-08-CoalescerBug.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
; rdar://7842028
; Do not delete partially dead copy instructions.
@@ -9,7 +9,7 @@
%struct.F = type { %struct.FC*, i32, i32, i8, i32, i32, i32 }
%struct.FC = type { [10 x i8], [32 x i32], %struct.FC*, i32 }
-define void @t(%struct.F* %this) nounwind {
+define void @t(%struct.F* %this) nounwind optsize {
entry:
; CHECK: t:
; CHECK: addq $12, %rsi