38 lines · plain
1# RUN: not --crash llc -o - -mtriple=amdgcn -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2 3---4name: test_intrinsic5legalized: true6regBankSelected: false7selected: false8tracksRegLiveness: true9liveins:10body: |11 bb.0:12 13 %0:_(p3) = G_IMPLICIT_DEF14 %1:_(s32) = G_IMPLICIT_DEF15 16 ; CHECK: Bad machine code: Too few operands17 G_INTRINSIC18 19 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID20 G_INTRINSIC 021 22 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID23 G_INTRINSIC %0, %124 25 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID26 %2:_(s32) = G_INTRINSIC %0, %127 28 ; CHECK: Bad machine code: G_INTRINSIC first src operand must be an intrinsic ID29 %3:_(s32), %4:_(s32) = G_INTRINSIC %0, %130 31 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory32 G_INTRINSIC intrinsic(@llvm.amdgcn.s.barrier)33 34 ; CHECK: Bad machine code: G_INTRINSIC used with intrinsic that accesses memory35 %3:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.ds.append), %0, 136 37...38