1; RUN: llc -march=amdgcn -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=GCN %s 2 3; GCN: warning: <unknown>:0:0: in function trap void (): trap handler not supported 4 5declare void @llvm.trap() #0 6 7; GCN-LABEL: {{^}}trap: 8; GCN: s_endpgm 9; GCN-NEXT: s_endpgm 10define void @trap() { 11 call void @llvm.trap() 12 ret void 13} 14 15attributes #0 = { nounwind noreturn } 16