These targets don't support EXTRACT_VECTOR_ELT, though, in time, X86 will.

llvm-svn: 26930
This commit is contained in:
Chris Lattner 2006-03-21 20:51:05 +00:00
parent c0af9c6478
commit 00f4683bf6
2 changed files with 2 additions and 0 deletions

View File

@ -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).

View File

@ -256,6 +256,7 @@ X86TargetLowering::X86TargetLowering(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);
}
if (TM.getSubtarget<X86Subtarget>().hasMMX()) {