[PATCH] D135492: [llvm-reduce] Fail verifier less when removing debug metadata

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 15:28:01 PDT 2022


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Sounds good to me - wouldn't mind slrightly more testing, but not mandatory.



================
Comment at: llvm/test/tools/llvm-reduce/debug-metadata-verifier.ll:2
+; RUN: llvm-reduce %s -o /dev/null --delta-passes=metadata --test %python --test-arg %p/Inputs/remove-metadata.py --abort-on-invalid-reduction
+
+define i32 @main() !dbg !4 {
----------------
Might be worth checking for the dbg.cu and dbg.declare this patch is about?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135492/new/

https://reviews.llvm.org/D135492



More information about the llvm-commits mailing list