[llvm] e51c7fb - [debugify] Add targeted test for 2fa656c, NFC
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 14:40:58 PDT 2020
Author: Vedant Kumar
Date: 2020-07-13T14:40:12-07:00
New Revision: e51c7fb842ee61e8002634ad2e8548d748cb6172
URL: https://github.com/llvm/llvm-project/commit/e51c7fb842ee61e8002634ad2e8548d748cb6172
DIFF: https://github.com/llvm/llvm-project/commit/e51c7fb842ee61e8002634ad2e8548d748cb6172.diff
LOG: [debugify] Add targeted test for 2fa656c, NFC
https://reviews.llvm.org/D78411 introduced test changes which relied on
the ability to strip debugify metadata even if module-level metadata is
missing. This introduces a more targeted test for that ability.
Added:
llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
Modified:
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir b/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
new file mode 100644
index 000000000000..895200338493
--- /dev/null
+++ b/llvm/test/CodeGen/Generic/MIRStripDebug/no-metadata-present.mir
@@ -0,0 +1,7 @@
+# RUN: llc -run-pass=mir-strip-debug -mir-strip-debugify-only=0 -o /dev/null %s
+
+---
+name: test
+body: |
+ bb.1:
+...
More information about the llvm-commits
mailing list