summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-07 14:58:04 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-08-07 14:58:04 +0000
commit8728c5f2db48be88952db24213d62825ca04264b (patch)
treee15526659c28fb0b488e96cd71fcaf954d159cab /llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
parent53d523c9eb1fba3714d39802fef27eb75ed35baa (diff)
downloadbcm5719-llvm-8728c5f2db48be88952db24213d62825ca04264b.tar.gz
bcm5719-llvm-8728c5f2db48be88952db24213d62825ca04264b.zip
AMDGPU: Cleanup subtarget features
Try to avoid mutually exclusive features. Don't use a real default GPU, and use a fake "generic". The goal is to make it easier to see which set of features are incompatible between feature strings. Most of the test changes are due to random scheduling changes from not having a default fullspeed model. llvm-svn: 310258
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll b/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
index daa3442097c..90bc6a274f1 100644
--- a/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
+++ b/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs -march=amdgcn -mattr=-promote-alloca < %s | FileCheck -check-prefix=SI-ALLOCA -check-prefix=SI %s
-; RUN: llc -verify-machineinstrs -march=amdgcn -mattr=+promote-alloca < %s | FileCheck -check-prefix=SI-PROMOTE -check-prefix=SI %s
+; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=tahiti -mattr=-promote-alloca < %s | FileCheck -check-prefix=SI-ALLOCA -check-prefix=SI %s
+; RUN: llc -verify-machineinstrs -march=amdgcn -mcpu=tahiti -mattr=+promote-alloca < %s | FileCheck -check-prefix=SI-PROMOTE -check-prefix=SI %s
declare i32 @llvm.amdgcn.mbcnt.lo(i32, i32) #1
declare i32 @llvm.amdgcn.mbcnt.hi(i32, i32) #1
OpenPOWER on IntegriCloud