1 # RUN: not --crash llc -o - -mtriple=amdgcn -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
8 tracksRegLiveness: true
13 %0:_(p3) = G_IMPLICIT_DEF
14 %1:_(s32) = G_IMPLICIT_DEF
16 ; CHECK: Bad machine code: Too few operands
19 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
22 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
25 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
26 %2:_(s32) = G_INTRINSIC %0, %1
28 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
29 %3:_(s32), %4:_(s32) = G_INTRINSIC %0, %1
31 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
32 G_INTRINSIC intrinsic(@llvm.amdgcn.s.barrier)
34 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
35 %3:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ds.append), %0, 1