summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/bitcast2.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-06-21 17:35:13 +0000
committerBob Wilson <bob.wilson@apple.com>2011-06-21 17:35:13 +0000
commit38c892624bc66cad98a81e080d235f4e33122562 (patch)
tree4792bba25f67161e3cadcd0b0cf3c96c970ba425 /test/CodeGen/X86/bitcast2.ll
parent0ac56845d125e555a12701e545ae1dd98f19b2dc (diff)
downloadllvm-38c892624bc66cad98a81e080d235f4e33122562.tar.gz
llvm-38c892624bc66cad98a81e080d235f4e33122562.tar.bz2
llvm-38c892624bc66cad98a81e080d235f4e33122562.tar.xz
Revert r133452: "Emit movq for 64-bit register to XMM register moves..."
This is breaking compiler-rt and llvm-gcc builds on MacOSX when not using the integrated assembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/bitcast2.ll')
-rw-r--r--test/CodeGen/X86/bitcast2.ll20
1 files changed, 1 insertions, 19 deletions
diff --git a/test/CodeGen/X86/bitcast2.ll b/test/CodeGen/X86/bitcast2.ll
index 71ecedf8f1..48922b5f5a 100644
--- a/test/CodeGen/X86/bitcast2.ll
+++ b/test/CodeGen/X86/bitcast2.ll
@@ -1,31 +1,13 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -march=x86-64 | grep movd | count 2
; RUN: llc < %s -march=x86-64 | not grep rsp
define i64 @test1(double %A) {
-; CHECK: test1
-; CHECK: movq
%B = bitcast double %A to i64
ret i64 %B
}
define double @test2(i64 %A) {
-; CHECK: test2
-; CHECK: movq
%B = bitcast i64 %A to double
ret double %B
}
-define i32 @test3(float %A) {
-; CHECK: test3
-; CHECK: movd
- %B = bitcast float %A to i32
- ret i32 %B
-}
-
-define float @test4(i32 %A) {
-; CHECK: test4
-; CHECK: movd
- %B = bitcast i32 %A to float
- ret float %B
-}
-