; RUN: llc -march amdgcn %s -filetype=obj 
; 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()

; 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()

Fix test from polluting the source tree
Fix test from polluting the source tree

(though this seems like a "does this not crash" test - which isn't very
good. Should be fixed)

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@301071 91177308-0d34-0410-b5e6-96231b3b80d8
