[llvm] [MIRPrinter] Don't print line break when there is no instructions (PR #80147)

Quentin Dian via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 05:10:59 PST 2024


================
@@ -136,9 +136,8 @@ define i32 @test_cfg_remap_multiple_preds(i32 %in) {
   ; CHECK-NEXT: {{  $}}
   ; CHECK-NEXT: bb.2.odd:
   ; CHECK-NEXT:   successors:
-  ; CHECK: {{  $}}
----------------
DianQK wrote:

It looks like we've had this problem before.

https://github.com/llvm/llvm-project/pull/80147


More information about the llvm-commits mailing list