================
@@ -7,10 +7,10 @@
 ; RUN: llvm-reduce -abort-on-invalid-reduction --test %python --test-arg 
%p/Inputs/remove-metadata.py %s -o %t
 ; RUN: FileCheck --implicit-check-not=! %s < %t
 
-@global = global i32 0, !dbg !0
+@global = global i32 0, !foo !0
 
-define void @main() !dbg !0 {
-   ret void, !dbg !0
+define void @main() !foo !0 {
+   ret void, !foo !0
----------------
aengelke wrote:

Well, otherwise the metadata nodes would have to be valid DILocations, which 
would make the interestingness script and the test more complicated and 
obfuscate what the test intends to check -- removal of uninteresting metadata.

https://github.com/llvm/llvm-project/pull/200649
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to