1 ; RUN: llc -march=hexagon -O2 < %s | FileCheck %s
3 target triple = "hexagon-unknown--elf"
5 ; Test to see if we inline memsets when the array size is small.
12 %v0 = alloca [10 x i32], align 8
13 call void @llvm.memset.p0.i32(ptr align 8 %v0, i8 0, i32 7, i1 false)
14 call void @f1(ptr %v0) #0
18 ; Function Attrs: nounwind
19 declare void @f1(ptr) #0
21 ; Function Attrs: argmemonly nounwind
22 declare void @llvm.memset.p0.i32(ptr nocapture writeonly, i8, i32, i1) #1
24 attributes #0 = { nounwind }
25 attributes #1 = { argmemonly nounwind }