1 ; RUN: llc -march=arm -mcpu=cortex-a8 < %s | FileCheck %s 2 3 ; Should trigger a NEON store. 4 ; CHECK: vstr 5 define void @f_0_12(i8* nocapture %c) nounwind optsize { 6 entry: 7 call void @llvm.memset.p0i8.i64(i8* %c, i8 0, i64 12, i32 8, i1 false) 8 ret void 9 } 10 11 ; Trigger multiple NEON stores. 12 ; CHECK: vstmia 13 ; CHECK-NEXT: vstmia 14 define void @f_0_40(i8* nocapture %c) nounwind optsize { 15 entry: 16 call void @llvm.memset.p0i8.i64(i8* %c, i8 0, i64 40, i32 16, i1 false) 17 ret void 18 } 19 20 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind 21