1 ; RUN: llc -mtriple=aarch64-unknown-unknown -verify-machineinstrs < %s | FileCheck %s 2 ; RUN: llc -mtriple=aarch64-unknown-unknown -fast-isel -fast-isel-abort=1 -verify-machineinstrs < %s | FileCheck %s 3 4 define void @store_i8(i8* %a) { 5 ; CHECK-LABEL: store_i8 6 ; CHECK: strb wzr, [x0] 7 store i8 0, i8* %a 8 ret void 9 } 10 11 define void @store_i16(i16* %a) { 12 ; CHECK-LABEL: store_i16 13 ; CHECK: strh wzr, [x0] 14 store i16 0, i16* %a 15 ret void 16 } 17 18 define void @store_i32(i32* %a) { 19 ; CHECK-LABEL: store_i32 20 ; CHECK: str wzr, [x0] 21 store i32 0, i32* %a 22 ret void 23 } 24 25 define void @store_i64(i64* %a) { 26 ; CHECK-LABEL: store_i64 27 ; CHECK: str xzr, [x0] 28 store i64 0, i64* %a 29 ret void 30 } 31