brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 74dcd03 Raw
28 lines · plain
1; RUN: llc -O2 < %s | FileCheck %s2; Look for four stores directly via r29.3; CHECK: memd(r294; CHECK: memd(r295; CHECK: memd(r296; CHECK: memd(r297 8target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"9target triple = "hexagon"10 11; Function Attrs: nounwind12define void @foo() #0 {13entry:14  %t = alloca [4 x [2 x i32]], align 815  call void @llvm.memset.p0.i32(ptr align 8 %t, i8 0, i32 32, i1 false)16  call void @bar(ptr %t) #117  ret void18}19 20; Function Attrs: nounwind21declare void @llvm.memset.p0.i32(ptr nocapture, i8, i32, i1) #122 23declare void @bar(ptr) #224 25attributes #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" }26attributes #1 = { nounwind }27attributes #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" }28