[llvm] [NFC][llvm] refine generated code format (PR #90172)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 23:38:42 PDT 2024


https://github.com/lipracer created https://github.com/llvm/llvm-project/pull/90172

None

>From 715f1974fe364a2240666c45ae92cacde92adfa4 Mon Sep 17 00:00:00 2001
From: lipracer <lipracer at gmail.com>
Date: Fri, 26 Apr 2024 14:43:52 +0800
Subject: [PATCH] [NFC][llvm] refine generated code format

---
 llvm/utils/TableGen/DAGISelMatcherEmitter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 



More information about the llvm-commits mailing list