OSDN Git Service

PPC doesn't have bit converts to/from i64
authorChris Lattner <sabre@nondot.org>
Tue, 27 Jun 2006 18:40:08 +0000 (18:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Jun 2006 18:40:08 +0000 (18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28932 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 5122b56..2976ec9 100644 (file)
@@ -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);