1 ; RUN: llc -mtriple=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2 ; RUN: llc -mtriple=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
4 ; Make sure we don't assert on empty functions
7 ; SI-LABEL: {{^}}empty_function_ret:
9 ; SI: codeLenInByte = 4
10 define amdgpu_kernel void @empty_function_ret() #0 {
15 ; SI-LABEL: {{^}}empty_function_unreachable:
16 ; SI: codeLenInByte = 0
17 define amdgpu_kernel void @empty_function_unreachable() #0 {
21 attributes #0 = { nounwind }