64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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()
|