[llvm] [SPIRV] Addition of matrix multiply accumulate operands (PR #138665)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 09:38:10 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp b/llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
index 4688b8dc7..5b02b8c02 100644
--- a/llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
+++ b/llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
@@ -265,7 +265,8 @@ void SPIRVInstPrinter::printInst(const MCInst *MI, uint64_t Address,
if (!Buffer.empty())
Buffer += '|';
Buffer += getSymbolicOperandMnemonic(
- OperandCategory::MatrixMultiplyAccumulateOperandsOperand, Mask);
+ OperandCategory::MatrixMultiplyAccumulateOperandsOperand,
+ Mask);
}
}
OS << Buffer;
``````````
</details>
https://github.com/llvm/llvm-project/pull/138665
More information about the llvm-commits
mailing list