summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-27 18:40:08 +0000
committerChris Lattner <sabre@nondot.org>2006-06-27 18:40:08 +0000
commit5f9faeaa78a79e03df6bb32e9b3c779e554fe8a2 (patch)
tree6f1acccaa1a4692512319d51f7f403d3bcba1090 /lib
parent2e6b77d8035459c17d7f0b7055e579a0d9090bdd (diff)
downloadllvm-5f9faeaa78a79e03df6bb32e9b3c779e554fe8a2.tar.gz
llvm-5f9faeaa78a79e03df6bb32e9b3c779e554fe8a2.tar.bz2
llvm-5f9faeaa78a79e03df6bb32e9b3c779e554fe8a2.tar.xz
PPC doesn't have bit converts to/from i64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 5122b5671b..2976ec93dc 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -110,6 +110,8 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
setOperationAction(ISD::BIT_CONVERT, MVT::f32, Expand);
setOperationAction(ISD::BIT_CONVERT, MVT::i32, Expand);
+ setOperationAction(ISD::BIT_CONVERT, MVT::i64, Expand);
+ setOperationAction(ISD::BIT_CONVERT, MVT::f64, Expand);
// PowerPC does not have truncstore for i1.
setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);