[llvm] [AMDGPU][LIT][NFC] Adding -mtriple for AMDGPUAnnotateUniformValues Pass tests (PR #156437)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 2 06:23:24 PDT 2025
================
@@ -24,7 +24,7 @@ declare i32 @llvm.amdgcn.workitem.id.x()
; To check that %arrayidx0 is not marked as amdgpu.noclobber.
; OPT-LABEL: @atomicrmw_clobbers_load(
-; OPT: %arrayidx0 = getelementptr inbounds [512 x i32], ptr addrspace(3) @lds0, i32 0, i32 %idx.0, !amdgpu.uniform !0
+; OPT: %arrayidx0 = getelementptr inbounds [512 x i32], ptr addrspace(3) @lds0, i32 0, i32 %idx.0
----------------
cdevadas wrote:
> This looks broken, adding the triple stops adding the metadata?
That's the whole point of this PR. There is no other way to tell Opt that we're compiling the test for AMDGPU.
https://github.com/llvm/llvm-project/pull/156437
More information about the llvm-commits
mailing list