diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-28 19:37:35 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-28 19:37:35 +0000 |
commit | 1c4d0efe56e234224a394dc3211d481120701f52 (patch) | |
tree | 4f61c2fd93b8e0b102d88b922044b3629603ba34 /llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll | |
parent | 156f4ee1c0b18f9a2d2ffe21aaccf857758a2184 (diff) | |
download | bcm5719-llvm-1c4d0efe56e234224a394dc3211d481120701f52.tar.gz bcm5719-llvm-1c4d0efe56e234224a394dc3211d481120701f52.zip |
AMDGPU: Emit error if too much LDS is used
llvm-svn: 267922
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll b/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll index c7bcfd2ddab..ff8c9045787 100644 --- a/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll +++ b/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=amdgcn -mcpu=verde -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s +; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s ; On Southern Islands GPUs the local address space(3) uses 32-bit pointers and @@ -91,12 +91,12 @@ define void @infer_ptr_alignment_global_offset(float addrspace(1)* %out, i32 %ti @ptr = addrspace(3) global i32 addrspace(3)* undef -@dst = addrspace(3) global [16384 x i32] undef +@dst = addrspace(3) global [16383 x i32] undef ; FUNC-LABEL: {{^}}global_ptr: ; SI: ds_write_b32 define void @global_ptr() nounwind { - store i32 addrspace(3)* getelementptr ([16384 x i32], [16384 x i32] addrspace(3)* @dst, i32 0, i32 16), i32 addrspace(3)* addrspace(3)* @ptr + store i32 addrspace(3)* getelementptr ([16383 x i32], [16383 x i32] addrspace(3)* @dst, i32 0, i32 16), i32 addrspace(3)* addrspace(3)* @ptr ret void } |