Skip to content

Commit 6f8ec49

Browse files
committed
review feedback: rename to GetMatrix
1 parent 4cbc839 commit 6f8ec49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2278,7 +2278,7 @@ class LowerMatrixIntrinsics {
22782278

22792279
MatrixTy VisitPHI(PHINode *Inst, const ShapeInfo &SI, IRBuilder<> &Builder) {
22802280
// Shim this->getMatrix to insert split phi's as needed.
2281-
auto getMatrix = [this, &Builder, SI](Value *MatrixVal) -> MatrixTy {
2281+
auto GetMatrix = [this, &Builder, SI](Value *MatrixVal) -> MatrixTy {
22822282
IRBuilder<>::InsertPointGuard IPG(Builder);
22832283

22842284
auto I = Inst2ColumnMatrix.find(MatrixVal);
@@ -2306,14 +2306,14 @@ class LowerMatrixIntrinsics {
23062306
return this->getMatrix(MatrixVal, SI, Builder);
23072307
};
23082308

2309-
MatrixTy PhiM = getMatrix(Inst);
2309+
MatrixTy PhiM = GetMatrix(Inst);
23102310

23112311
for (unsigned IncomingI = 0, IncomingE = Inst->getNumIncomingValues();
23122312
IncomingI != IncomingE; ++IncomingI) {
23132313
Value *IncomingV = Inst->getIncomingValue(IncomingI);
23142314
BasicBlock *IncomingB = Inst->getIncomingBlock(IncomingI);
23152315

2316-
MatrixTy OpM = getMatrix(IncomingV);
2316+
MatrixTy OpM = GetMatrix(IncomingV);
23172317

23182318
for (unsigned VI = 0, VE = PhiM.getNumVectors(); VI != VE; ++VI) {
23192319
PHINode *NewPHI = cast<PHINode>(PhiM.getVector(VI));

0 commit comments

Comments
 (0)