[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:40:08 PDT 2025
================
@@ -0,0 +1,29 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
----------------
Sisyph wrote:
> Are you referring to the `# REQUIRES: amdgpu-registered-target` line in the test file?
Yes. That line means this test will only be run if LLVM has been configured to build the AMDGPU backend. It is necessary, since the input and output of the test is AMDGPU specific.
But conceptually, you could write a test for a different backend that also emitted pointers in its MIR.
https://github.com/llvm/llvm-project/pull/163253
More information about the llvm-commits
mailing list