diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-01-24 22:02:15 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-01-24 22:02:15 +0000 |
commit | 7aad8fd8f45e07d72e50792aec18c2b476bdd96e (patch) | |
tree | c4944a9d92eed6e454c369d9723cad854da9498b /llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll | |
parent | e4c1dd2c08586649ebb3ae1e51ad98f0efabaf68 (diff) | |
download | bcm5719-llvm-7aad8fd8f45e07d72e50792aec18c2b476bdd96e.tar.gz bcm5719-llvm-7aad8fd8f45e07d72e50792aec18c2b476bdd96e.zip |
Enable FeatureFlatForGlobal on Volcanic Islands
This switches to the workaround that HSA defaults to
for the mesa path.
This should be applied to the 4.0 branch.
Patch by Vedran Miletić <vedran@miletic.net>
llvm-svn: 292982
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 | 2 |
1 files changed, 1 insertions, 1 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 6495a1480df..edad18e244d 100644 --- a/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll +++ b/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll @@ -1,5 +1,5 @@ ; 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 +; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -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 ; the global address space(1) uses 64-bit pointers. These tests check to make sure |