; RUN: llc -march=hexagon -hexagon-hvx-widen=32 < %s | FileCheck %s ; Check for successful compilation. ; Expect that the truncate to v32i8 is lowered to vdeale. ; CHECK-LABEL: f0: ; CHECK: vdeale 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" target triple = "hexagon" define dllexport void @f0(<32 x i32> %a0) local_unnamed_addr #0 { b0: %v0 = trunc <32 x i32> %a0 to <32 x i8> %v1 = shufflevector <32 x i8> %v0, <32 x i8> undef, <128 x i32> tail call void @llvm.masked.store.v128i8.p0v128i8(<128 x i8> %v1, <128 x i8>* undef, i32 128, <128 x i1> ) ret void } ; Function Attrs: argmemonly nounwind willreturn declare void @llvm.masked.store.v128i8.p0v128i8(<128 x i8>, <128 x i8>*, i32 immarg, <128 x i1>) #1 attributes #0 = { "target-cpu"="hexagonv66" "target-features"="+hvx,+hvx-length128b" } attributes #1 = { argmemonly nounwind willreturn }