brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · 21cda6e Raw
52 lines · plain
1; RUN: llc -O2 -mtriple=hexagon < %s | FileCheck %s2; Make sure we don't use setbit to add offsets to stack objects.3; CHECK-NOT: setbit4 5target triple = "hexagon-unknown--elf"6 7; Function Attrs: nounwind8define void @f0() #0 {9b0:10  %v0 = alloca [64 x float], align 1611  call void @llvm.lifetime.start.p0(i64 256, ptr %v0) #112  %v2 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 813  store float 0.000000e+00, ptr %v2, align 16, !tbaa !014  store float 0.000000e+00, ptr %v0, align 16, !tbaa !015  %v4 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 916  store float 0.000000e+00, ptr %v4, align 4, !tbaa !017  %v5 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 118  store float 0.000000e+00, ptr %v5, align 4, !tbaa !019  %v6 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1020  store float 0.000000e+00, ptr %v6, align 8, !tbaa !021  %v7 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 222  store float 0.000000e+00, ptr %v7, align 8, !tbaa !023  %v8 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1124  store float 1.000000e+00, ptr %v8, align 4, !tbaa !025  %v9 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 326  store float 1.000000e+00, ptr %v9, align 4, !tbaa !027  %v10 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 1228  store float 0.000000e+00, ptr %v10, align 16, !tbaa !029  %v11 = getelementptr inbounds [64 x float], ptr %v0, i32 0, i32 430  store float 0.000000e+00, ptr %v11, align 16, !tbaa !031  call void @f1(ptr %v0) #232  call void @llvm.lifetime.end.p0(i64 256, ptr %v0) #133  ret void34}35 36declare void @f1(ptr) #037 38; Function Attrs: argmemonly nounwind39declare void @llvm.lifetime.start.p0(i64, ptr nocapture) #140 41; Function Attrs: argmemonly nounwind42declare void @llvm.lifetime.end.p0(i64, ptr nocapture) #143 44attributes #0 = { nounwind "target-cpu"="hexagonv55" }45attributes #1 = { argmemonly nounwind }46attributes #2 = { nounwind }47 48!0 = !{!1, !1, i64 0}49!1 = !{!"float", !2}50!2 = !{!"omnipotent char", !3}51!3 = !{!"Simple C/C++ TBAA"}52