llvm.org GIT mirror llvm / 5ad067f
AMDGPU: Don't use spir_kernel in a test Also use verify-machineinstrs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336374 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 1 year, 8 months ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc -o /dev/null %s
0 ; RUN: llc -mtriple=amdgcn-- -verify-machineinstrs -o /dev/null %s
11 ; This testcase produces a situation with unused value numbers in subregister
22 ; liveranges that get distributed by ConnectedVNInfoEqClasses.
3 target triple = "amdgcn--"
43
5 define spir_kernel void @hoge() {
4 define amdgpu_kernel void @hoge() {
65 bb:
76 %tmp = tail call i32 @llvm.amdgcn.workitem.id.x()
87 br i1 undef, label %bb2, label %bb23