mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Remove getWidenVectorType, which is no longer used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -792,20 +792,6 @@ unsigned TargetLowering::getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
|
||||
return 1;
|
||||
}
|
||||
|
||||
/// getWidenVectorType: given a vector type, returns the type to widen to
|
||||
/// (e.g., v7i8 to v8i8). If the vector type is legal, it returns itself.
|
||||
/// If there is no vector type that we want to widen to, returns MVT::Other
|
||||
/// When and where to widen is target dependent based on the cost of
|
||||
/// scalarizing vs using the wider vector type.
|
||||
EVT TargetLowering::getWidenVectorType(EVT VT) const {
|
||||
assert(VT.isVector());
|
||||
if (isTypeLegal(VT))
|
||||
return VT;
|
||||
|
||||
// Default is not to widen until moved to LegalizeTypes
|
||||
return MVT::Other;
|
||||
}
|
||||
|
||||
/// getByValTypeAlignment - Return the desired alignment for ByVal aggregate
|
||||
/// function arguments in the caller parameter area. This is the actual
|
||||
/// alignment, not its logarithm.
|
||||
|
||||
Reference in New Issue
Block a user