diff --git a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp index 671da3f539931..6b66310b1e3d8 100644 --- a/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp +++ b/llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp @@ -873,11 +873,11 @@ class LowerMatrixIntrinsics { } } - /// Compute Res += A * B for tile-sized matrices with left-associating + /// Compute \p Result += \p A * \p B for input matrices with left-associating /// addition. - void emitChainedMatrixMultiply(MatrixTy &Result, const MatrixTy &A, - const MatrixTy &B, bool AllowContraction, - IRBuilder<> &Builder, bool isTiled) { + void emitMatrixMultiply(MatrixTy &Result, const MatrixTy &A, + const MatrixTy &B, bool AllowContraction, + IRBuilder<> &Builder, bool isTiled) { const unsigned VF = std::max( TTI.getRegisterBitWidth(true) / Result.getElementType()->getPrimitiveSizeInBits().getFixedSize(), @@ -936,7 +936,7 @@ class LowerMatrixIntrinsics { bool AllowContract = AllowContractEnabled || (isa(MatMul) && MatMul->hasAllowContract()); - emitChainedMatrixMultiply(Result, Lhs, Rhs, AllowContract, Builder, false); + emitMatrixMultiply(Result, Lhs, Rhs, AllowContract, Builder, false); finalizeLowering(MatMul, Result, Builder); }