[llvm] [AMDGPU] Remove explicit datalayout from tests where not needed (PR #137921)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 22:51:41 PDT 2025


================
@@ -489,7 +487,7 @@ define amdgpu_kernel void @kern_lds_ptr(ptr addrspace(3) %lds) #0 {
 ; HSA-NEXT:    ret void
 ;
 ; MESA-LABEL: @kern_lds_ptr(
-; MESA-NEXT:    [[KERN_LDS_PTR_KERNARG_SEGMENT:%.*]] = call nonnull align 16 dereferenceable(264) ptr addrspace(4) @llvm.amdgcn.kernarg.segment.ptr()
+; MESA-NEXT:    [[KERN_LDS_PTR_KERNARG_SEGMENT:%.*]] = call nonnull align 16 dereferenceable(260) ptr addrspace(4) @llvm.amdgcn.kernarg.segment.ptr()
----------------
arichardson wrote:

This should be the only file with actual changes due to the inferred data layout.

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


More information about the llvm-commits mailing list