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/gv-offset-folding.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/gv-offset-folding.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll b/llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll index ea48f2a41b9..2b5af75936f 100644 --- a/llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll +++ b/llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=fiji -relocation-model=static < %s | FileCheck %s +; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=fiji -mattr=-flat-for-global -relocation-model=static < %s | FileCheck %s @lds = external addrspace(3) global [4 x i32] |