summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/half.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/half.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/half.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/half.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/half.ll b/llvm/test/CodeGen/AMDGPU/half.ll
index e823f736f1e..4b4895028c9 100644
--- a/llvm/test/CodeGen/AMDGPU/half.ll
+++ b/llvm/test/CodeGen/AMDGPU/half.ll
@@ -1,5 +1,5 @@
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI %s
-; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=VI %s
+; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=VI %s
; half args should be promoted to float for SI and lower.
OpenPOWER on IntegriCloud