David Blaikie | 6cce690 | 2017-04-22 07:53:40 +0000 | [diff] [blame] | 1 | ; RUN: llc -march amdgcn %s -filetype=obj -o /dev/null |
Yaxun Liu | 15a96b1 | 2017-04-21 19:32:02 +0000 | [diff] [blame] | 2 | ; RUN: llc -march amdgcn <%s | FileCheck %s |
3 | define amdgpu_kernel void @f() { | ||||
4 | ; CHECK: ; divergent unreachable | ||||
5 | call void @llvm.amdgcn.unreachable() | ||||
6 | ret void | ||||
7 | } | ||||
8 | |||||
9 | declare void @llvm.amdgcn.unreachable() |