summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-21 20:51:05 +0000
committerChris Lattner <sabre@nondot.org>2006-03-21 20:51:05 +0000
commit00f4683bf6216ea2b1beb199dea155c87e9cd8b0 (patch)
tree1de121d60e437953b0ffb696031fe87f7570197a /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parentc0af9c647838ec15013ef26ac24c657f63c843ef (diff)
downloadbcm5719-llvm-00f4683bf6216ea2b1beb199dea155c87e9cd8b0.tar.gz
bcm5719-llvm-00f4683bf6216ea2b1beb199dea155c87e9cd8b0.zip
These targets don't support EXTRACT_VECTOR_ELT, though, in time, X86 will.
llvm-svn: 26930
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 6497fd904eb..4af94b373f6 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -168,6 +168,7 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
setOperationAction(ISD::LOAD, (MVT::ValueType)VT, Expand);
setOperationAction(ISD::VECTOR_SHUFFLE, (MVT::ValueType)VT, Expand);
+ setOperationAction(ISD::EXTRACT_VECTOR_ELT, (MVT::ValueType)VT, Expand);
// FIXME: We don't support any BUILD_VECTOR's yet. We should custom expand
// the ones we do, like splat(0.0) and splat(-0.0).
OpenPOWER on IntegriCloud