Check output in test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir, NFC
authorVedant Kumar <vsk@apple.com>
Mon, 13 Jul 2020 22:15:34 +0000 (15:15 -0700)
committerVedant Kumar <vsk@apple.com>
Mon, 13 Jul 2020 22:15:49 +0000 (15:15 -0700)
llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir

index 8952003..3df8348 100644 (file)
@@ -1,7 +1,13 @@
-# RUN: llc -run-pass=mir-strip-debug -mir-strip-debugify-only=0 -o /dev/null %s
+# RUN: llc -run-pass=mir-strip-debug -mir-strip-debugify-only=0 -o - %s | FileCheck %s
+
+# CHECK: name: test
+# CHECK: body: |
+# CHECK-NEXT: bb.0:
+# CHECK-EMPTY:
+# CHECK-NEXT: ...
 
 ---
 name:            test
 body:             |
-  bb.1:
+  bb.0:
 ...