Add two newlines in ParseSubtargetFeatures's debug output after the CPU is printed.
authorHal Finkel <hfinkel@anl.gov>
Tue, 12 Jun 2012 04:21:36 +0000 (04:21 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 12 Jun 2012 04:21:36 +0000 (04:21 +0000)
There is otherwise not a newline between the CPU name and the start of the next
pass's output which makes both difficult to read.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158350 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/SubtargetEmitter.cpp

index c58fc6b8fd05b1cfa5414ccc57a21b73ff3f93c9..1b871a8b66b367a6b0af13cae7fc9d0ab554319f 100644 (file)
@@ -696,7 +696,7 @@ void SubtargetEmitter::ParseFeaturesFunction(raw_ostream &OS,
   OS << Target;
   OS << "Subtarget::ParseSubtargetFeatures(StringRef CPU, StringRef FS) {\n"
      << "  DEBUG(dbgs() << \"\\nFeatures:\" << FS);\n"
-     << "  DEBUG(dbgs() << \"\\nCPU:\" << CPU);\n";
+     << "  DEBUG(dbgs() << \"\\nCPU:\" << CPU << \"\\n\\n\");\n";
 
   if (Features.empty()) {
     OS << "}\n";