
Recent upstream trends have moved away from explicitly using `-verify-machineinstrs`, as it's already covered by the expensive checks. This PR removes almost all `-verify-machineinstrs` from tests in `llvm/test/CodeGen/AMDGPU/*.ll`, leaving only those tests where its removal currently causes failures.
22 lines
545 B
LLVM
22 lines
545 B
LLVM
; RUN: llc -mtriple=amdgcn -mcpu=tahiti < %s | FileCheck -check-prefix=SI %s
|
|
; RUN: llc -mtriple=amdgcn -mcpu=tonga < %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 }
|