[llvm] [AMDGPU][LIT][NFC] Adding -mtriple for AMDGPUAnnotateUniformValues Pass tests (PR #156437)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep  2 23:27:56 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
----------------
arsenm wrote:
Traditionally the command line triple was preferred over the in-file one, but I think that's an x86-ism we just copied. We rarely need to test with different triples 
https://github.com/llvm/llvm-project/pull/156437
    
    
More information about the llvm-commits
mailing list