[llvm] Add metadata pointer regex substitution to MIR update script (PR #163253)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 09:22:33 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 = ""
----------------
Sisyph wrote:
I don't have a strong opinion on this placement, but how did you decide at which point in the update script workflow to do this substitution.
https://github.com/llvm/llvm-project/pull/163253
More information about the llvm-commits
mailing list