mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[Matrix] Rename emitChainedMatrixMultiply to emitMatrixMultiply (NFC).
The Chained in the name potentially leads to confusion. Also updated the comment to drop the unnecessary mention of tile-sized.
This commit is contained in:
parent
fdeed10483
commit
fcea358269
@ -873,11 +873,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
/// 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<unsigned>(
|
||||
TTI.getRegisterBitWidth(true) /
|
||||
Result.getElementType()->getPrimitiveSizeInBits().getFixedSize(),
|
||||
@ -936,7 +936,7 @@ public:
|
||||
|
||||
bool AllowContract = AllowContractEnabled || (isa<FPMathOperator>(MatMul) &&
|
||||
MatMul->hasAllowContract());
|
||||
emitChainedMatrixMultiply(Result, Lhs, Rhs, AllowContract, Builder, false);
|
||||
emitMatrixMultiply(Result, Lhs, Rhs, AllowContract, Builder, false);
|
||||
finalizeLowering(MatMul, Result, Builder);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user