mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[Tablegen][DAG]: Fix build breakage when LLVM_ENABLE_DAGISEL_COV=1
LLVM_ENABLE_DAGISEL_COV can be used to instrument DAGISel tablegen selection code to show which patterns along with Complex patterns were used when selecting instructions. Unfortunately this is turned off by default and was broken but never tested. This required a simple fix (missing new line) to get it to build again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -258,7 +258,7 @@ void MatcherTableEmitter::EmitPatternMatchTable(raw_ostream &OS) {
|
||||
|
||||
OS << "\n};";
|
||||
OS << "\nreturn StringRef(PATTERN_MATCH_TABLE[Index]);";
|
||||
OS << "\n}";
|
||||
OS << "\n}\n";
|
||||
EndEmitFunction(OS);
|
||||
|
||||
BeginEmitFunction(OS, "StringRef", "getIncludePathForIndex(unsigned Index)",
|
||||
@@ -272,7 +272,7 @@ void MatcherTableEmitter::EmitPatternMatchTable(raw_ostream &OS) {
|
||||
|
||||
OS << "\n};";
|
||||
OS << "\nreturn StringRef(INCLUDE_PATH_TABLE[Index]);";
|
||||
OS << "\n}";
|
||||
OS << "\n}\n";
|
||||
EndEmitFunction(OS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user