1; RUN: llc -mtriple=amdgcn--amdhsa -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=GCN %s 2 3declare void @llvm.trap() #0 4 5; GCN-LABEL: {{^}}trap: 6; GCN: v_mov_b32_e32 v0, 1 7; GCN: s_mov_b64 s[0:1], s[4:5] 8; GCN: s_trap 1 9define void @trap() { 10 call void @llvm.trap() 11 ret void 12} 13 14attributes #0 = { nounwind noreturn } 15