mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
These targets don't support EXTRACT_VECTOR_ELT, though, in time, X86 will.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26930 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -168,6 +168,7 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
|
setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
|
||||||
setOperationAction(ISD::LOAD, (MVT::ValueType)VT, Expand);
|
setOperationAction(ISD::LOAD, (MVT::ValueType)VT, Expand);
|
||||||
setOperationAction(ISD::VECTOR_SHUFFLE, (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
|
// 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).
|
// the ones we do, like splat(0.0) and splat(-0.0).
|
||||||
|
@@ -256,6 +256,7 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
|
setOperationAction(ISD::MUL , (MVT::ValueType)VT, Expand);
|
||||||
setOperationAction(ISD::LOAD, (MVT::ValueType)VT, Expand);
|
setOperationAction(ISD::LOAD, (MVT::ValueType)VT, Expand);
|
||||||
setOperationAction(ISD::VECTOR_SHUFFLE, (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()) {
|
if (TM.getSubtarget<X86Subtarget>().hasMMX()) {
|
||||||
|
Reference in New Issue
Block a user