summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/flat-address-space.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2015-01-06 18:00:21 +0000
committerTom Stellard <thomas.stellard@amd.com>2015-01-06 18:00:21 +0000
commit49f8bfdcb71ce973ca847243c84cfea607cfa847 (patch)
tree4a4270ff96995d309125c7ec51f445f3753aae3e /llvm/test/CodeGen/R600/flat-address-space.ll
parent07f1160a0c20f8a81245ef9db5fa6b828819923b (diff)
downloadbcm5719-llvm-49f8bfdcb71ce973ca847243c84cfea607cfa847.tar.gz
bcm5719-llvm-49f8bfdcb71ce973ca847243c84cfea607cfa847.zip
R600/SI: Add a stub GCNTargetMachine
This is equivalent to the AMDGPUTargetMachine now, but it is the starting point for separating R600 and GCN functionality into separate targets. It is recommened that users start using the gcn triple for GCN-based GPUs, because using the r600 triple for these GPUs will be deprecated in the future. llvm-svn: 225277
Diffstat (limited to 'llvm/test/CodeGen/R600/flat-address-space.ll')
-rw-r--r--llvm/test/CodeGen/R600/flat-address-space.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/R600/flat-address-space.ll b/llvm/test/CodeGen/R600/flat-address-space.ll
index fc5af7c889e..99ef41b24e4 100644
--- a/llvm/test/CodeGen/R600/flat-address-space.ll
+++ b/llvm/test/CodeGen/R600/flat-address-space.ll
@@ -1,5 +1,5 @@
-; RUN: llc -O0 -march=r600 -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=CHECK -check-prefix=CHECK-NO-PROMOTE %s
-; RUN: llc -O0 -march=r600 -mcpu=bonaire -mattr=+promote-alloca < %s | FileCheck -check-prefix=CHECK -check-prefix=CHECK-PROMOTE %s
+; RUN: llc -O0 -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=CHECK -check-prefix=CHECK-NO-PROMOTE %s
+; RUN: llc -O0 -march=amdgcn -mcpu=bonaire -mattr=+promote-alloca < %s | FileCheck -check-prefix=CHECK -check-prefix=CHECK-PROMOTE %s
; Disable optimizations in case there are optimizations added that
; specialize away generic pointer accesses.
OpenPOWER on IntegriCloud