Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC][llvm] refine generated code format #90172

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

lipracer
Copy link
Member

No description provided.

@llvmbot llvmbot added the llvm:SelectionDAG SelectionDAGISel as well label Apr 26, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Apr 26, 2024

@llvm/pr-subscribers-llvm-selectiondag

Author: long.chen (lipracer)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/90172.diff

1 Files Affected:

  • (modified) llvm/utils/TableGen/DAGISelMatcherEmitter.cpp (+1-1)
diff --git a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp b/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
index dcecac4380ce23..ff508d64873330 100644
--- a/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+++ b/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
@@ -1352,7 +1352,7 @@ void llvm::EmitMatcherTable(Matcher *TheMatcher, const CodeGenDAGPatterns &CGP,
   MatcherEmitter.EmitHistogram(TheMatcher, OS);
 
   OS << "  #undef TARGET_VAL\n";
-  OS << "  SelectCodeCommon(N, MatcherTable,sizeof(MatcherTable));\n";
+  OS << "  SelectCodeCommon(N, MatcherTable, sizeof(MatcherTable));\n";
   OS << "}\n";
   EndEmitFunction(OS);
 

@lipracer lipracer requested a review from MaskRay April 26, 2024 06:53
@lipracer lipracer merged commit 2b2c66c into llvm:main Apr 26, 2024
9 of 10 checks passed
@lipracer lipracer deleted the refine branch April 26, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
llvm:SelectionDAG SelectionDAGISel as well
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants