[llvm] [RemoveDIs] Preserve debug info format in llvm-reduce (PR #89220)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 08:08:18 PDT 2024


================
@@ -1,17 +1,14 @@
-; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t --try-experimental-debuginfo-iterators
-; RUN: FileCheck --check-prefixes=CHECK-FINAL --input-file=%t %s --implicit-check-not=dbg.value
+; RUN: llvm-reduce --abort-on-invalid-reduction --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
+; RUN: FileCheck --check-prefixes=CHECK-FINAL --input-file=%t %s --implicit-check-not=#dbg_value
----------------
SLTozer wrote:

I would have said that this should be covered by existing tests, but apparently we don't have any tests that explicitly test removing debug intrinsics (since they're just like any other instruction) - for the sake of ensuring coverage as we transition to using records by default, I've added such a test here!

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


More information about the llvm-commits mailing list