1 # RUN: not --crash llc -o - -mtriple=aarch64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
9 tracksRegLiveness: true
13 liveins: $x0, $w0, $q0
14 %s32:_(s32) = COPY $w0
18 ; CHECK: *** Bad machine code: Too few operands ***
19 ; CHECK: 4 operands expected, but 1 given.
21 G_PREFETCH %ptr, 0, 0, 0, 0
22 ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***
25 G_PREFETCH %s32, 0, 0, 0
26 ; CHECK: *** Bad machine code: addr operand must be a pointer ***
29 G_PREFETCH %ptr, 10, 0, 0
30 ; CHECK: *** Bad machine code: rw operand must be an immediate 0-1 ***
33 G_PREFETCH %ptr, 0, 10, 0
34 ; CHECK: *** Bad machine code: locality operand must be an immediate 0-3 ***
37 G_PREFETCH %ptr, 0, 0, 10
38 ; CHECK: *** Bad machine code: cache type operand must be an immediate 0-1 ***