PPC doesn't have SCALAR_TO_VECTOR
authorChris Lattner <sabre@nondot.org>
Sun, 19 Mar 2006 06:17:19 +0000 (06:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Mar 2006 06:17:19 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26865 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 9963203dfca1160b8d9b5f471d0ef8df042d3151..68f84f6e21b39611d8680e0981ab50217aafd4e6 100644 (file)
@@ -183,6 +183,9 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
     // the ones we do!
     setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Expand);
     setOperationAction(ISD::BUILD_VECTOR, MVT::v4i32, Expand);
+    
+    setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Expand);
+    setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Expand);
   }
   
   setSetCCResultContents(ZeroOrOneSetCCResult);