[llvm] [TableGen] Fix minor index bugs in PseudoLoweringEmitter (PR #81605)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 05:40:28 PST 2024
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 a70077ed8cdf7c7c2879c18c1c67917cd88e64ef fb9a9e9278747379b71b00a1c458516f407afbc0 -- llvm/utils/TableGen/PseudoLoweringEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
index 5d3a44d042..9c3e90e906 100644
--- a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
+++ b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
@@ -177,8 +177,8 @@ void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) {
if (NumOps < Dag->getNumArgs()) {
PrintError(Rec, "In pseudo instruction '" + Rec->getName() +
- "', result operator '" + Operator->getName() +
- "' has the wrong number of operands");
+ "', result operator '" + Operator->getName() +
+ "' has the wrong number of operands");
PrintFatalNote(Rec->getValue("ResultInst"),
"Result was assigned at the following location:");
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/81605
More information about the llvm-commits
mailing list