1 #RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
8 tracksRegLiveness: true
13 %ptr:_(p0) = G_IMPLICIT_DEF
14 %cst1:_(s64) = G_CONSTANT i64 4
15 %cst2:_(s8) = G_CONSTANT i8 7
17 ; CHECK: *** Bad machine code: bzero must have 1 memory operand ***
18 G_BZERO %ptr, %cst2, 0
20 ; CHECK: *** Bad machine code: bzero memory operand must be a store ***
21 G_BZERO %ptr, %cst2, 0 :: (load (s32))
23 ; CHECK: *** Bad machine code: Missing mayLoad flag ***
24 ; CHECK: *** Bad machine code: bzero memory operand must be a store ***
25 G_BZERO %ptr, %cst2, 0 :: (load store (s32))
27 ; CHECK: *** Bad machine code: inconsistent bzero address space ***
28 G_BZERO %ptr, %cst2, 0 :: (store (s32), addrspace 1)
30 ; CHECK: *** Bad machine code: bzero operand must be a pointer ***
31 G_BZERO %cst1, %cst2, 0 :: (store (s32))
33 ; CHECK: *** Bad machine code: 'tail' flag (last operand) must be an immediate 0 or 1 ***
34 G_BZERO %ptr, %cst2, 2 :: (store (s32))