1 ; RUN: llc -O2 < %s | FileCheck %s
2 ; Look for four stores directly via r29.
8 target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"
9 target triple = "hexagon"
11 ; Function Attrs: nounwind
12 define void @foo() #0 {
14 %t = alloca [4 x [2 x i32]], align 8
15 call void @llvm.memset.p0.i32(ptr align 8 %t, i8 0, i32 32, i1 false)
16 call void @bar(ptr %t) #1
20 ; Function Attrs: nounwind
21 declare void @llvm.memset.p0.i32(ptr nocapture, i8, i32, i1) #1
23 declare void @bar(ptr) #2
25 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
26 attributes #1 = { nounwind }
27 attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }