1; RUN: llc -march=hexagon < %s | FileCheck %s 2 3target 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" 4target triple = "hexagon" 5 6; CHECK-LABEL: danny: 7; CHECK: vunpack 8; CHECK-NOT: vinsert 9define void @danny(<16 x i16>* %a0) local_unnamed_addr #0 { 10b2: 11 %v16 = load <16 x i16>, <16 x i16>* %a0, align 128 12 %v17 = sext <16 x i16> %v16 to <16 x i32> 13 store <16 x i32> %v17, <16 x i32>* undef, align 128 14 unreachable 15} 16 17; CHECK-LABEL: sammy: 18; CHECK: vunpack 19; CHECK-NOT: vinsert 20define void @sammy(<32 x i16>* %a0) local_unnamed_addr #1 { 21b2: 22 %v16 = load <32 x i16>, <32 x i16>* %a0, align 128 23 %v17 = sext <32 x i16> %v16 to <32 x i32> 24 store <32 x i32> %v17, <32 x i32>* undef, align 128 25 unreachable 26} 27 28 29attributes #0 = { noinline norecurse nounwind "target-cpu"="hexagonv60" "target-features"="+hvx-length64b,+hvxv60" } 30attributes #1 = { noinline norecurse nounwind "target-cpu"="hexagonv60" "target-features"="+hvx-length128b,+hvxv60" } 31