1 ; RUN: llc -march=hexagon -O2 -disable-hexagon-shuffle=1 < %s | FileCheck %s
2 ; CHECK: vmemu(r{{[0-9]}}+#0) = v{{[0-9]*}}
4 target triple = "hexagon"
6 ; Function Attrs: nounwind
7 define void @f0(ptr %a0, ptr %a1) #0 {
9 %v0 = alloca ptr, align 4
10 %v1 = alloca ptr, align 4
11 %v2 = alloca <16 x i32>, align 64
12 store ptr %a0, ptr %v0, align 4
13 store ptr %a1, ptr %v1, align 4
14 %v3 = load ptr, ptr %v0, align 4
15 %v4 = load <16 x i32>, ptr %v2, align 64
16 call void asm sideeffect " $1 = vmemu($0);\0A", "r,v"(ptr %v3, <16 x i32> %v4) #1, !srcloc !0
17 %v5 = load ptr, ptr %v1, align 4
18 %v6 = load <16 x i32>, ptr %v2, align 64
19 call void asm sideeffect " vmemu($0) = $1;\0A", "r,v,~{memory}"(ptr %v5, <16 x i32> %v6) #1, !srcloc !1
23 ; Function Attrs: nounwind
29 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvxv60,+hvx-length64b" }
30 attributes #1 = { nounwind }