[llvm] Add metadata pointer regex substitution to MIR update script (PR #163253)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 10:10:38 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 = ""
----------------
saxlungs wrote:
Yeah I placed it here as it was the easiest place to access all of the output of LLC before any of it was written out
https://github.com/llvm/llvm-project/pull/163253
More information about the llvm-commits
mailing list