summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-05 17:01:29 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-05 17:01:29 +0000
commit2d47310071e1e718f59553781aea9e8aa0bcfba8 (patch)
treeb6e4a45948c375b187e65d144cd65855b4efc153 /llvm/test/CodeGen/AMDGPU
parent29f303799bf211f353f97982a11b8d1dd7f49656 (diff)
downloadbcm5719-llvm-2d47310071e1e718f59553781aea9e8aa0bcfba8.tar.gz
bcm5719-llvm-2d47310071e1e718f59553781aea9e8aa0bcfba8.zip
AMDGPU: Don't use spir_kernel in a test
Also use verify-machineinstrs. llvm-svn: 336374
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU')
-rw-r--r--llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll b/llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll
index d0276a3fb59..c62234986f3 100644
--- a/llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll
+++ b/llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll
@@ -1,9 +1,8 @@
-; RUN: llc -o /dev/null %s
+; RUN: llc -mtriple=amdgcn-- -verify-machineinstrs -o /dev/null %s
; This testcase produces a situation with unused value numbers in subregister
; liveranges that get distributed by ConnectedVNInfoEqClasses.
-target triple = "amdgcn--"
-define spir_kernel void @hoge() {
+define amdgpu_kernel void @hoge() {
bb:
%tmp = tail call i32 @llvm.amdgcn.workitem.id.x()
br i1 undef, label %bb2, label %bb23
OpenPOWER on IntegriCloud