From ab515b09bfba19c671aa2f8635d595552876189d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 19 Mar 2006 06:17:19 +0000 Subject: [PATCH] PPC doesn't have SCALAR_TO_VECTOR git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26865 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCISelLowering.cpp | 3 +++ 1 file changed, 3 insertions(+) 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);