summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-24 22:02:15 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-24 22:02:15 +0000
commit7aad8fd8f45e07d72e50792aec18c2b476bdd96e (patch)
treec4944a9d92eed6e454c369d9723cad854da9498b /llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
parente4c1dd2c08586649ebb3ae1e51ad98f0efabaf68 (diff)
downloadbcm5719-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/local-stack-slot-offset.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll b/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
index 256f6e87c84..9b9d844cb0c 100644
--- a/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
+++ b/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll
@@ -1,5 +1,5 @@
;RUN: llc < %s -march=amdgcn -mcpu=verde -mattr=+vgpr-spilling -mattr=-promote-alloca -verify-machineinstrs | FileCheck %s -check-prefix=CHECK
-;RUN: llc < %s -march=amdgcn -mcpu=tonga -mattr=+vgpr-spilling -mattr=-promote-alloca -verify-machineinstrs | FileCheck %s -check-prefix=CHECK
+;RUN: llc < %s -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -mattr=+vgpr-spilling -mattr=-promote-alloca -verify-machineinstrs | FileCheck %s -check-prefix=CHECK
; Allocate two stack slots of 2052 bytes each requiring a total of 4104 bytes.
; Extracting the last element of each does not fit into the offset field of
OpenPOWER on IntegriCloud