[llvm] [TableGen][SelectionDAG] Remove the `implicit` DAG node (PR #115295)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 7 03:23:15 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 2d7f34f2a5df9396a33a0ea044cfe3ddf33e1f5c c0dc211704cb6f0d535a9ef72e48454a45635a1d --extensions cpp -- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp llvm/utils/TableGen/DAGISelMatcherGen.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
index f2ad3aa127..c8186d6e69 100644
--- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
@@ -2945,8 +2945,7 @@ TreePatternNodePtr TreePattern::ParseTreePattern(const Init *TheInit,
!Operator->isSubClassOf("Instruction") &&
!Operator->isSubClassOf("SDNodeXForm") &&
!Operator->isSubClassOf("Intrinsic") &&
- !Operator->isSubClassOf("ComplexPattern") &&
- Operator->getName() != "set")
+ !Operator->isSubClassOf("ComplexPattern") && Operator->getName() != "set")
error("Unrecognized node '" + Operator->getName() + "'!");
// Check to see if this is something that is illegal in an input pattern.
``````````
</details>
https://github.com/llvm/llvm-project/pull/115295
More information about the llvm-commits
mailing list