mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Make getWidenVectorType const; this file was missed in the
previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c13cf130c4
commit
65b7f27bb7
@ -669,7 +669,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(MVT VT,
|
|||||||
/// If there is no vector type that we want to widen to, returns MVT::Other
|
/// 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
|
/// When and where to widen is target dependent based on the cost of
|
||||||
/// scalarizing vs using the wider vector type.
|
/// scalarizing vs using the wider vector type.
|
||||||
MVT TargetLowering::getWidenVectorType(MVT VT) {
|
MVT TargetLowering::getWidenVectorType(MVT VT) const {
|
||||||
assert(VT.isVector());
|
assert(VT.isVector());
|
||||||
if (isTypeLegal(VT))
|
if (isTypeLegal(VT))
|
||||||
return VT;
|
return VT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user