mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Change a parameter of TargetLowering::getVectorTypeBreakdown to MVT,
from EVT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170536 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -339,7 +339,7 @@ public:
|
||||
unsigned getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
|
||||
EVT &IntermediateVT,
|
||||
unsigned &NumIntermediates,
|
||||
EVT &RegisterVT) const;
|
||||
MVT &RegisterVT) const;
|
||||
|
||||
/// getTgtMemIntrinsic: Given an intrinsic, checks if on the target the
|
||||
/// intrinsic will need to map to a MemIntrinsicNode (touches memory). If
|
||||
@@ -599,11 +599,12 @@ public:
|
||||
return RegisterTypeForVT[VT.getSimpleVT().SimpleTy];
|
||||
}
|
||||
if (VT.isVector()) {
|
||||
EVT VT1, RegisterVT;
|
||||
EVT VT1;
|
||||
MVT RegisterVT;
|
||||
unsigned NumIntermediates;
|
||||
(void)getVectorTypeBreakdown(Context, VT, VT1,
|
||||
NumIntermediates, RegisterVT);
|
||||
return RegisterVT.getSimpleVT();
|
||||
return RegisterVT;
|
||||
}
|
||||
if (VT.isInteger()) {
|
||||
return getRegisterType(Context, getTypeToTransformTo(Context, VT));
|
||||
@@ -624,7 +625,8 @@ public:
|
||||
return NumRegistersForVT[VT.getSimpleVT().SimpleTy];
|
||||
}
|
||||
if (VT.isVector()) {
|
||||
EVT VT1, VT2;
|
||||
EVT VT1;
|
||||
MVT VT2;
|
||||
unsigned NumIntermediates;
|
||||
return getVectorTypeBreakdown(Context, VT, VT1, NumIntermediates, VT2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user