; RUN: llc -march=hexagon < %s | FileCheck %s ; This used to crash with ; "llvm::MVT llvm::EVT::getSimpleVT() const: Assertion `isSimple() && ; Expected a SimpleValueType!' failed." ; CHECK: vmax define <256 x i16> @f0(<128 x i16> %v0, <128 x i16> %v1) #0 { %v01 = shufflevector <128 x i16> %v0, <128 x i16> %v1, <256 x i32> %v10 = shufflevector <128 x i16> %v1, <128 x i16> %v0, <256 x i32> %p0 = icmp sgt <256 x i16> %v01, %v10 %res = select <256 x i1> %p0, <256 x i16> %v01, <256 x i16> %v10 ret <256 x i16> %res } attributes #0 = { nounwind readnone "target-cpu"="hexagonv65" "target-features"="+hvxv65,+hvx-length128b" }