[llvm] 528a1c5 - Check output in test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir, NFC
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 15:16:05 PDT 2020
Author: Vedant Kumar
Date: 2020-07-13T15:15:49-07:00
New Revision: 528a1c56d976be83388782357b3b98711f7dafe0
URL: https://github.com/llvm/llvm-project/commit/528a1c56d976be83388782357b3b98711f7dafe0
DIFF: https://github.com/llvm/llvm-project/commit/528a1c56d976be83388782357b3b98711f7dafe0.diff
LOG: Check output in test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir, NFC
Added:
Modified:
llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir b/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
index 895200338493..3df834845b40 100644
--- a/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
+++ b/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
@@ -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:
...
More information about the llvm-commits
mailing list