Skip to content

Commit 7c4cb0e

Browse files
committed
Fix build error introduced by 1c722fc
The change built before merge, but apparently a constness change landed since I posted this for review.
1 parent 1c722fc commit 7c4cb0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ static VectorType *getVRGatherIndexType(MVT DataVT, const RISCVSubtarget &ST,
389389
/// during legalization. Note that processShuffleMasks is not an exact proxy
390390
/// for the algorithm used in LegalizeVectorTypes, but hopefully it's a
391391
/// reasonably close upperbound.
392-
static InstructionCost costShuffleViaSplitting(RISCVTTIImpl &TTI, MVT LegalVT,
393-
VectorType *Tp,
392+
static InstructionCost costShuffleViaSplitting(const RISCVTTIImpl &TTI,
393+
MVT LegalVT, VectorType *Tp,
394394
ArrayRef<int> Mask,
395395
TTI::TargetCostKind CostKind) {
396396
assert(LegalVT.isFixedLengthVector() && !Mask.empty() &&

0 commit comments

Comments
 (0)