8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
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()
|