summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/fadd.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/fadd.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/fadd.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/fadd.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/fadd.ll b/llvm/test/CodeGen/AMDGPU/fadd.ll
index 11436794ac9..0f683f7bfa2 100644
--- a/llvm/test/CodeGen/AMDGPU/fadd.ll
+++ b/llvm/test/CodeGen/AMDGPU/fadd.ll
@@ -1,5 +1,5 @@
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck %s -check-prefix=SI -check-prefix=FUNC
-; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck %s -check-prefix=SI -check-prefix=FUNC
+; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck %s -check-prefix=SI -check-prefix=FUNC
; RUN: llc -march=r600 -mcpu=redwood < %s | FileCheck %s -check-prefix=R600 -check-prefix=FUNC
; FUNC-LABEL: {{^}}fadd_f32:
OpenPOWER on IntegriCloud