Skip to content

Commit 0c0a09a

Browse files
committed
lambda naming
1 parent 210ca02 commit 0c0a09a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ InstructionCost RISCVTTIImpl::getSlideCost(FixedVectorType *Tp,
492492
if (LT.first != 1)
493493
return InstructionCost::getInvalid();
494494

495-
auto getSlideOpcode = [&](int SlideAmt) {
495+
auto GetSlideOpcode = [&](int SlideAmt) {
496496
assert(SlideAmt != 0);
497497
bool IsVI = isUInt<5>(std::abs(SlideAmt));
498498
if (SlideAmt < 0)
@@ -509,7 +509,7 @@ InstructionCost RISCVTTIImpl::getSlideCost(FixedVectorType *Tp,
509509

510510
InstructionCost FirstSlideCost = 0;
511511
if (SrcInfo[0].second != 0) {
512-
unsigned Opcode = getSlideOpcode(SrcInfo[0].second);
512+
unsigned Opcode = GetSlideOpcode(SrcInfo[0].second);
513513
FirstSlideCost = getRISCVInstructionCost(Opcode, LT.second, CostKind);
514514
}
515515

@@ -518,7 +518,7 @@ InstructionCost RISCVTTIImpl::getSlideCost(FixedVectorType *Tp,
518518

519519
InstructionCost SecondSlideCost = 0;
520520
if (SrcInfo[1].second != 0) {
521-
unsigned Opcode = getSlideOpcode(SrcInfo[1].second);
521+
unsigned Opcode = GetSlideOpcode(SrcInfo[1].second);
522522
SecondSlideCost = getRISCVInstructionCost(Opcode, LT.second, CostKind);
523523
} else {
524524
SecondSlideCost =

0 commit comments

Comments
 (0)