1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 target datalayout = "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048"
4 target triple = "hexagon"
9 define void @danny(ptr %a0, ptr %a1) #0 {
11 %v16 = load <16 x i16>, ptr %a0, align 128
12 %v17 = sext <16 x i16> %v16 to <16 x i32>
13 store <16 x i32> %v17, ptr %a1, align 128
20 define void @sammy(ptr %a0, ptr %a1) #1 {
22 %v16 = load <32 x i16>, ptr %a0, align 128
23 %v17 = sext <32 x i16> %v16 to <32 x i32>
24 store <32 x i32> %v17, ptr %a1, align 128
29 attributes #0 = { noinline norecurse nounwind "target-cpu"="hexagonv60" "target-features"="+hvx-length64b,+hvxv60" }
30 attributes #1 = { noinline norecurse nounwind "target-cpu"="hexagonv60" "target-features"="+hvx-length128b,+hvxv60" }