mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
------------------------------------------------------------------------ r227214 | marek.olsak | 2015-01-27 12:27:15 -0500 (Tue, 27 Jan 2015) | 2 lines R600/SI: Enable all tests that pass on VI without changes ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@233734 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
553 B
LLVM
22 lines
553 B
LLVM
; RUN: llc -march=amdgcn -mcpu=SI -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-LABEL: {{^}}empty_function_ret:
|
|
; SI: .text
|
|
; SI: s_endpgm
|
|
; SI: codeLenInByte = 4
|
|
define void @empty_function_ret() #0 {
|
|
ret void
|
|
}
|
|
|
|
; SI-LABEL: {{^}}empty_function_unreachable:
|
|
; SI: .text
|
|
; SI: codeLenInByte = 0
|
|
define void @empty_function_unreachable() #0 {
|
|
unreachable
|
|
}
|
|
|
|
attributes #0 = { nounwind }
|