[llvm] Add metadata pointer regex substitution to MIR update script (PR #163253)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 08:16:35 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:
I kept them in but purposefully included the actual raw pointer value seen below on line 8. I wanted to make sure that the script would now replace the raw pointer with the regex. I left in all of the CHECK lines because I wasn't sure if the script would be happy with only one or if it needed all of them
https://github.com/llvm/llvm-project/pull/163253
More information about the llvm-commits
mailing list