[llvm] Add metadata pointer regex substitution to MIR update script (PR #163253)

Brox Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 09:32:19 PDT 2025


================
@@ -247,6 +249,14 @@ def update_test_file(args, test, autogenerated_note):
             common.warn("No triple found: skipping file", test_file=test)
             return
 
+        # Replace metadata pointer values inserted by LLC with generic regex
+        # capturing the pointer's format so that stale values don't break tests
+        no_pointer_output = ""
----------------
broxigarchen wrote:

This seems to be replacing the output in the final stage when dumping out the new CHECK string

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


More information about the llvm-commits mailing list