1 # RUN: not llc -o - -march=amdgcn -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: amdgpu-registered-target
9 tracksRegLiveness: true
14 %0:_(p3) = G_IMPLICIT_DEF
15 %1:_(s32) = G_IMPLICIT_DEF
17 ; CHECK: Bad machine code: Too few operands
20 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
23 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
26 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
27 %2:_(s32) = G_INTRINSIC %0, %1
29 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID
30 %3:_(s32), %4:_(s32) = G_INTRINSIC %0, %1
32 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
33 G_INTRINSIC intrinsic(@llvm.amdgcn.s.barrier)
35 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory
36 %3:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ds.append), %0, 1