summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-04-29 22:23:58 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-04-29 22:23:58 +0000
commitd8b2da11360419a9f1d569468a9b2a8ca3dace20 (patch)
tree590be3f65f287e7148f76ae11ef75e22e729a9f4 /test/CodeGen/R600
parent015f586bc9665192b6814e91bf47552265ee0617 (diff)
downloadllvm-d8b2da11360419a9f1d569468a9b2a8ca3dace20.tar.gz
llvm-d8b2da11360419a9f1d569468a9b2a8ca3dace20.tar.bz2
llvm-d8b2da11360419a9f1d569468a9b2a8ca3dace20.tar.xz
R600: Use correct CF_END instruction on Northern Island GPUs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600')
-rw-r--r--test/CodeGen/R600/cf_end.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/CodeGen/R600/cf_end.ll b/test/CodeGen/R600/cf_end.ll
index 67d5e3e781..56cd7de382 100644
--- a/test/CodeGen/R600/cf_end.ll
+++ b/test/CodeGen/R600/cf_end.ll
@@ -1,6 +1,9 @@
-; RUN: llc < %s -march=r600 -mcpu=redwood --show-mc-encoding | FileCheck %s
+; RUN: llc < %s -march=r600 -mcpu=redwood --show-mc-encoding | FileCheck --check-prefix=EG-CHECK %s
+; RUN: llc < %s -march=r600 -mcpu=caicos --show-mc-encoding | FileCheck --check-prefix=EG-CHECK %s
+; RUN: llc < %s -march=r600 -mcpu=cayman --show-mc-encoding | FileCheck --check-prefix=CM-CHECK %s
-; CHECK: CF_END ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x80]
+; EG-CHECK: CF_END ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x80]
+; CM-CHECK: CF_END ; encoding: [0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x88]
define void @eop() {
ret void
}