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 %0:_(p0) = G_CONSTANT i64 0
14 %1:_(s64) = G_CONSTANT i64 4
15 %2:_(s8) = G_CONSTANT i8 7
17 ; CHECK: *** Bad machine code: memset must have 1 memory operand ***
18 G_MEMSET %0, %1, %2, 0
20 ; CHECK: *** Bad machine code: memset memory operand must be a store ***
21 G_MEMSET %0, %1, %2, 0 :: (load (s32))
23 ; CHECK: *** Bad machine code: Missing mayLoad flag ***
24 ; CHECK: *** Bad machine code: memset memory operand must be a store ***
25 G_MEMSET %0, %1, %2, 0 :: (load store (s32))
27 ; CHECK: *** Bad machine code: inconsistent memset address space ***
28 G_MEMSET %0, %1, %2, 0 :: (store (s32), addrspace 1)
30 ; CHECK: *** Bad machine code: memset operand must be a pointer ***
31 G_MEMSET %1, %1, %2, 0 :: (store (s32))