[llvm] [LLVM-Reduce] - Distinct Metadata Reduction (PR #104624)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 23:52:30 PDT 2024


================
@@ -1,8 +1,8 @@
 ; Test that llvm-reduce can remove uninteresting metadata from an IR file.
 ; The Metadata pass erases named & unnamed metadata nodes.
 ;
-; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-metadata.py %s -o %t
-; RUN: cat %t | FileCheck -implicit-check-not=! %s
+; RUN: llvm-reduce --aggressive-md --test %python --test-arg %p/Inputs/remove-metadata.py %s -o %t
+; RUN: FileCheck -implicit-check-not=! %s < %t 
----------------
arsenm wrote:

Check with and without the aggressive flag 

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


More information about the llvm-commits mailing list