42 lines · plain
1; RUN: llc -mtriple=hexagon -O0 < %s | FileCheck %s2; CHECK: allocframe(r29,#{{[1-9][0-9]*}}):raw3; CHECK: r29 = and(r29,#-64)4 5target triple = "hexagon"6 7; Function Attrs: nounwind8define i32 @f0() #0 {9b0:10 %v0 = alloca <16 x i32>, align 6411 call void @llvm.lifetime.start.p0(i64 64, ptr %v0) #312 %v2 = tail call <16 x i32> @llvm.hexagon.V6.lvsplatw(i32 1)13 %v3 = tail call <16 x i32> @llvm.hexagon.V6.vsubh.rt(<16 x i32> %v2, i32 -1)14 store <16 x i32> %v3, ptr %v0, align 64, !tbaa !015 call void @f1(i32 64, ptr %v0) #316 call void @llvm.lifetime.end.p0(i64 64, ptr %v0) #317 ret i32 018}19 20; Function Attrs: nounwind readnone21declare <16 x i32> @llvm.hexagon.V6.vsubh.rt(<16 x i32>, i32) #122 23; Function Attrs: nounwind readnone24declare <16 x i32> @llvm.hexagon.V6.lvsplatw(i32) #125 26declare void @f1(i32, ptr) #027 28; Function Attrs: argmemonly nounwind29declare void @llvm.lifetime.start.p0(i64, ptr nocapture) #230 31; Function Attrs: argmemonly nounwind32declare void @llvm.lifetime.end.p0(i64, ptr nocapture) #233 34attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvxv60,+hvx-length64b" }35attributes #1 = { nounwind readnone }36attributes #2 = { argmemonly nounwind }37attributes #3 = { nounwind }38 39!0 = !{!1, !1, i64 0}40!1 = !{!"omnipotent char", !2, i64 0}41!2 = !{!"Simple C/C++ TBAA"}42