2018-11-15 10:32:43 +08:00
|
|
|
; RUN: llc -mtriple=amdgcn--amdhsa -mattr=-code-object-v3 -mcpu=fiji -filetype=obj < %s | llvm-objdump -d - -mcpu=fiji | FileCheck %s
|
2017-04-09 05:28:38 +08:00
|
|
|
|
|
|
|
; CHECK: kernel0:
|
|
|
|
; CHECK-NEXT: s_endpgm
|
|
|
|
define amdgpu_kernel void @kernel0() align 256 {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0
|
|
|
|
; CHECK-NEXT: s_nop 0 // 0000000001FC: BF800000
|
|
|
|
|
2019-06-18 14:35:18 +08:00
|
|
|
; CHECK-EMPTY:
|
2017-04-09 05:28:38 +08:00
|
|
|
; CHECK-NEXT: kernel1:
|
|
|
|
; CHECK-NEXT: s_endpgm
|
2018-09-10 10:54:25 +08:00
|
|
|
define amdgpu_kernel void @kernel1(i32 addrspace(1)* addrspace(4)* %ptr.out) align 256 {
|
2017-04-09 05:28:38 +08:00
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|