summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-18 00:07:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-18 00:07:14 +0000
commit0e5e821a6940acb12f69eca11c244e505c58e0b8 (patch)
treee4d353dcba73a7f6988c63eb878526dd32cf97f6
parented18a3e6b25817136471a0fd1b09ff4edd936055 (diff)
downloadllvm-0e5e821a6940acb12f69eca11c244e505c58e0b8.tar.gz
llvm-0e5e821a6940acb12f69eca11c244e505c58e0b8.tar.bz2
llvm-0e5e821a6940acb12f69eca11c244e505c58e0b8.tar.xz
Remove a test that was only testing for physreg joining.
This is the same as the other tests: Clever tricks are required to make the arguments and return value line up in a single-instruction function. It rarely happens in real life. We have plenty other examples of this behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157030 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/coalescer-commute2.ll13
1 files changed, 1 insertions, 12 deletions
diff --git a/test/CodeGen/X86/coalescer-commute2.ll b/test/CodeGen/X86/coalescer-commute2.ll
index 730692093d..e45437cc94 100644
--- a/test/CodeGen/X86/coalescer-commute2.ll
+++ b/test/CodeGen/X86/coalescer-commute2.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -mcpu=nehalem | FileCheck %s
; CHECK-NOT: mov
; CHECK: paddw
; CHECK-NOT: mov
@@ -26,14 +26,3 @@ entry:
%tmp10 = bitcast <8 x i16> %tmp9 to <2 x i64> ; <<2 x i64>> [#uses=1]
ret <2 x i64> %tmp10
}
-
-
-; The coalescer should commute the add to avoid a copy.
-define <4 x float> @test3(<4 x float> %V) {
-entry:
- %tmp8 = shufflevector <4 x float> %V, <4 x float> undef,
- <4 x i32> < i32 3, i32 2, i32 1, i32 0 >
- %add = fadd <4 x float> %tmp8, %V
- ret <4 x float> %add
-}
-