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

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 09:57:23 PDT 2025


================
@@ -0,0 +1,29 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -global-isel -mtriple=amdgcn -mcpu=gfx900 -stop-after=irtranslator -o - %s | FileCheck %s
+
+define i32 @reloc_constant() {
+  ; CHECK-LABEL: name: reloc_constant
----------------
saxlungs wrote:

@Sisyph I had a similar concern, but I wasn't able to find any tests that had that format of `<0x[0-9a-f]+>` anywhere other than the metadata pointers in the `CodeGen` tests. Is there somewhere in particular I should look for an example so that I can test it?

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


More information about the llvm-commits mailing list