[CodeGen] Fix tests breaking after r325505
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 19 Feb 2018 15:51:17 +0000 (15:51 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Mon, 19 Feb 2018 15:51:17 +0000 (15:51 +0000)
llvm-svn: 325512

llvm/lib/CodeGen/MachineBasicBlock.cpp
llvm/test/CodeGen/ARM/sched-it-debug-nodes.mir

index 6686cda275688e0bf297e217d843f7d0cd3ff9b9..cf58c33aa4ea6d14af91e19870289eead94e4e4f 100644 (file)
@@ -414,8 +414,6 @@ void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST,
       OS << " {";
       IsInBundle = true;
     }
-
-    OS << '\n';
   }
 
   if (IsInBundle)
index 318a371e87cd0852f78357745c97af3f3a97cf15..56d6734027b7f9dd13fd89dc475fffd2fbf7cc70 100644 (file)
@@ -32,7 +32,8 @@
   ; debug value as KILL'ed, resulting in a DEBUG_VALUE node changing codegen!  (or
   ; hopefully, triggering an assert).
 
-  ; CHECK: BUNDLE implicit-def dead $itstate{{.*}} {
+  ; CHECK: BUNDLE implicit-def dead $itstate{{.*}}
+  ; CHECK-NEXT: {
   ; CHECK: DBG_VALUE debug-use $r1, debug-use $noreg, !"u"
   ; CHECK-NOT: DBG_VALUE killed $r1, $noreg, !"u"