[llvm] [RemoveDIs] Update update_test_checks script to recognize dbg_records (PR #87388)

Nicolai Hähnle via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 03:32:10 PDT 2024


================
@@ -1079,6 +1079,7 @@ def get_value_use(self, var, match, var_prefix=None):
     NamelessValue(r"META", "!", r"", r"![0-9]+", r"(?:distinct |)!.*"),
     NamelessValue(r"ACC_GRP", "!", r"!llvm.access.group ", r"![0-9]+", None),
     NamelessValue(r"META", "!", r"![a-z.]+ ", r"![0-9]+", None),
+    NamelessValue(r"META", "!", r".", r"![0-9]+", None),
----------------
nhaehnle wrote:

Interesting point. The tool really is meant to look at tooling output, not human-written IR, so you can argue both ways. I don't feel very strongly about it -- I think either way is fine.

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


More information about the llvm-commits mailing list