AMDGPU: Don't use spir_kernel in a test

Also use verify-machineinstrs.

llvm-svn: 336374
This commit is contained in:
Matt Arsenault 2018-07-05 17:01:29 +00:00
parent 29f303799b
commit 2d47310071
1 changed files with 2 additions and 3 deletions

View File

@ -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