1 ; RUN: llc -march=hexagon -disable-hexagon-shuffle=0 -O2 < %s | FileCheck %s
3 ; Generate vmemu (unaligned).
9 target triple = "hexagon"
11 ; Function Attrs: nounwind
12 define void @f0(i8* nocapture readonly %a0, i8* nocapture readonly %a1, i8* nocapture %a2) #0 {
14 %v0 = bitcast i8* %a0 to <16 x i32>*
15 %v1 = load <16 x i32>, <16 x i32>* %v0, align 4, !tbaa !0
16 %v2 = bitcast i8* %a1 to <16 x i32>*
17 %v3 = load <16 x i32>, <16 x i32>* %v2, align 4, !tbaa !0
18 %v4 = tail call <16 x i32> @llvm.hexagon.V6.vaddw(<16 x i32> %v1, <16 x i32> %v3)
19 %v5 = bitcast i8* %a2 to <16 x i32>*
20 store <16 x i32> %v4, <16 x i32>* %v5, align 4, !tbaa !0
24 ; Function Attrs: nounwind readnone
25 declare <16 x i32> @llvm.hexagon.V6.vaddw(<16 x i32>, <16 x i32>) #1
27 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvxv60,+hvx-length64b" }
28 attributes #1 = { nounwind readnone }
31 !1 = !{!"omnipotent char", !2, i64 0}
32 !2 = !{!"Simple C/C++ TBAA"}