aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-06-16 23:57:15 +0000
committerBill Wendling <isanbard@gmail.com>2007-06-16 23:57:15 +0000
commita9e64f6f2d60f81e315b96b0a0ea5370aca021da (patch)
treeda44c3264476bed299e5dfd33e42c47047ad0bb0 /lib/Target
parenta4d71f09ffdaee54e0728dac39f86113148197a3 (diff)
downloadexternal_llvm-a9e64f6f2d60f81e315b96b0a0ea5370aca021da.zip
external_llvm-a9e64f6f2d60f81e315b96b0a0ea5370aca021da.tar.gz
external_llvm-a9e64f6f2d60f81e315b96b0a0ea5370aca021da.tar.bz2
Revert patch. It regresses:
define double @test2(i64 %A) { %B = bitcast i64 %A to double ret double %B } $ llvm-as < t.ll | llc -march=x86-64 before: .align 4 .globl _test2 _test2: movd %rdi, %xmm0 ret after: _test2: subq $8, %rsp movq %rdi, (%rsp) movsd (%rsp), %xmm0 addq $8, %rsp ret git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index b9be10f..f8b6cea 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -394,8 +394,6 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i16, Custom);
setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v2i32, Custom);
setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v1i64, Custom);
-
- setOperationAction(ISD::BIT_CONVERT, MVT::i64, Expand);
}
if (Subtarget->hasSSE1()) {