2020-10-15 01:03:37 +08:00
|
|
|
; RUN: llc -mtriple=amdgcn--amdhsa --amdhsa-code-object-version=2 -mcpu=fiji -filetype=obj < %s | llvm-objdump -d - --mcpu=fiji | FileCheck %s
|
2017-04-09 05:28:38 +08:00
|
|
|
|
2020-03-06 06:18:38 +08:00
|
|
|
; CHECK: <kernel0>:
|
2020-10-07 10:44:46 +08:00
|
|
|
; CHECK: s_endpgm
|
2017-04-09 05:28:38 +08:00
|
|
|
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:
|
2020-03-06 06:18:38 +08:00
|
|
|
; CHECK-NEXT: <kernel1>:
|
2020-10-07 10:44:46 +08:00
|
|
|
; CHECK: 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
|
|
|
|
}
|