mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
adc641f6a1
(though this seems like a "does this not crash" test - which isn't very good. Should be fixed) llvm-svn: 301071
10 lines
260 B
LLVM
10 lines
260 B
LLVM
; RUN: llc -march amdgcn %s -filetype=obj -o /dev/null
|
|
; RUN: llc -march amdgcn <%s | FileCheck %s
|
|
define amdgpu_kernel void @f() {
|
|
; CHECK: ; divergent unreachable
|
|
call void @llvm.amdgcn.unreachable()
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.amdgcn.unreachable()
|