1 ; RUN: llc -march=hexagon -hexagon-initial-cfg-cleanup=0 < %s | FileCheck %s
3 ; Check for successful compilation.
6 target triple = "hexagon"
8 ; Function Attrs: nounwind
9 define dso_local void @f0(i8* %a0, i8* %a1) local_unnamed_addr #0 {
13 b1: ; preds = %b1, %b0
14 %v0 = phi i32 [ %v18, %b1 ], [ 0, %b0 ]
15 %v1 = getelementptr inbounds i8, i8* %a1, i32 %v0
16 %v2 = load <64 x i8>, <64 x i8>* undef, align 1, !tbaa !0, !alias.scope !3
17 %v3 = add <64 x i8> zeroinitializer, %v2
18 %v4 = getelementptr inbounds i8, i8* %a0, i32 undef
19 %v5 = getelementptr inbounds i8, i8* %a0, i32 undef
20 %v6 = getelementptr inbounds i8, i8* %a0, i32 undef
21 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
22 %v7 = extractelement <64 x i8> %v3, i32 12
23 store i8 %v7, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
24 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
25 store i8 undef, i8* %v4, align 1, !tbaa !0, !alias.scope !6, !noalias !8
26 store i8 0, i8* %v5, align 1, !tbaa !0, !alias.scope !6, !noalias !8
27 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
28 %v8 = extractelement <64 x i8> %v3, i32 36
29 store i8 %v8, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
30 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
31 %v9 = extractelement <64 x i8> %v3, i32 38
32 store i8 %v9, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
33 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
34 %v10 = extractelement <64 x i8> %v3, i32 41
35 store i8 %v10, i8* %v6, align 1, !tbaa !0, !alias.scope !6, !noalias !8
36 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
37 store i8 undef, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
38 %v11 = extractelement <64 x i8> %v3, i32 55
39 store i8 %v11, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
40 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
41 %v12 = extractelement <64 x i8> %v3, i32 58
42 store i8 %v12, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
43 store i8 0, i8* undef, align 1, !tbaa !0, !alias.scope !6, !noalias !8
44 %v13 = bitcast i8* %v1 to <64 x i8>*
45 %v14 = load <64 x i8>, <64 x i8>* %v13, align 1, !tbaa !0, !alias.scope !3
46 %v15 = add <64 x i8> zeroinitializer, %v14
47 %v16 = getelementptr inbounds i8, i8* %a0, i32 undef
48 %v17 = extractelement <64 x i8> %v15, i32 23
49 store i8 %v17, i8* %v16, align 1, !tbaa !0, !alias.scope !6, !noalias !8
50 %v18 = add i32 %v0, 64
54 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx-length64b,+hvxv60" }
57 !1 = !{!"omnipotent char", !2, i64 0}
58 !2 = !{!"Simple C/C++ TBAA"}
60 !4 = distinct !{!4, !5}
61 !5 = distinct !{!5, !"LVerDomain"}
63 !7 = distinct !{!7, !5}
64 !8 = !{!4, !9, !10, !11}
65 !9 = distinct !{!9, !5}
66 !10 = distinct !{!10, !5}
67 !11 = distinct !{!11, !5}