You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
21
external/llvm/test/CodeGen/AMDGPU/empty-function.ll
vendored
Normal file
21
external/llvm/test/CodeGen/AMDGPU/empty-function.ll
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
|
||||
|
||||
; Make sure we don't assert on empty functions
|
||||
|
||||
; SI: .text
|
||||
; SI-LABEL: {{^}}empty_function_ret:
|
||||
; SI: s_endpgm
|
||||
; SI: codeLenInByte = 4
|
||||
define amdgpu_kernel void @empty_function_ret() #0 {
|
||||
ret void
|
||||
}
|
||||
|
||||
; SI: .text
|
||||
; SI-LABEL: {{^}}empty_function_unreachable:
|
||||
; SI: codeLenInByte = 0
|
||||
define amdgpu_kernel void @empty_function_unreachable() #0 {
|
||||
unreachable
|
||||
}
|
||||
|
||||
attributes #0 = { nounwind }
|
Reference in New Issue
Block a user