mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Request expansion of ConstantVec nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3181a771ff
commit
ec4a0c7c6b
@ -153,6 +153,11 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
|
||||
if (TM.getSubtarget<PPCSubtarget>().hasAltivec()) {
|
||||
addRegisterClass(MVT::v4f32, PPC::VRRCRegisterClass);
|
||||
addRegisterClass(MVT::v4i32, PPC::VRRCRegisterClass);
|
||||
|
||||
// FIXME: We don't support any ConstantVec's yet. We should custom expand
|
||||
// the ones we do!
|
||||
setOperationAction(ISD::ConstantVec, MVT::v4f32, Expand);
|
||||
setOperationAction(ISD::ConstantVec, MVT::v4i32, Expand);
|
||||
}
|
||||
|
||||
setSetCCResultContents(ZeroOrOneSetCCResult);
|
||||
|
Loading…
x
Reference in New Issue
Block a user