mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 22:53:08 +00:00
Make getWidenVectorType const; this file was missed in the
previous commit. llvm-svn: 62266
This commit is contained in:
parent
37d7b5be33
commit
273ef2ab9f
@ -669,7 +669,7 @@ unsigned TargetLowering::getVectorTypeBreakdown(MVT VT,
|
||||
/// 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.
|
||||
MVT TargetLowering::getWidenVectorType(MVT VT) {
|
||||
MVT TargetLowering::getWidenVectorType(MVT VT) const {
|
||||
assert(VT.isVector());
|
||||
if (isTypeLegal(VT))
|
||||
return VT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user