From: Chris Lattner Date: Sun, 19 Mar 2006 06:17:19 +0000 (+0000) Subject: PPC doesn't have SCALAR_TO_VECTOR X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ab515b09bfba19c671aa2f8635d595552876189d;p=oota-llvm.git PPC doesn't have SCALAR_TO_VECTOR git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26865 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 9963203dfca..68f84f6e21b 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -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);