aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-19 06:17:19 +0000
committerChris Lattner <sabre@nondot.org>2006-03-19 06:17:19 +0000
commitab515b09bfba19c671aa2f8635d595552876189d (patch)
tree59361c72d1cc1a4be510c882cc2505ea5bb069fc
parent528180ed7ba092f5767163f567fd80f0887d9e4c (diff)
PPC doesn't have SCALAR_TO_VECTOR
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26865 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 9963203dfc..68f84f6e21 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);