1 ; RUN: llc -march=hexagon < %s | FileCheck %s
4 ; LLVM ERROR: Cannot select: t54: v4i8 = select t50, t53, t52
8 target triple = "hexagon"
10 @g0 = external dso_local unnamed_addr constant [41 x i8], align 1
11 define dso_local void @f0() local_unnamed_addr #0 {
13 %v0 = load <16 x i32>, ptr undef, align 16
14 %v1 = icmp eq <16 x i32> %v0, zeroinitializer
15 %v2 = or <16 x i1> %v1, zeroinitializer
16 %v3 = or <16 x i1> %v2, zeroinitializer
17 %v4 = or <16 x i1> %v3, zeroinitializer
18 %v5 = shufflevector <16 x i1> %v4, <16 x i1> undef, <16 x i32> <i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
19 %v6 = or <16 x i1> %v4, %v5
20 %v7 = extractelement <16 x i1> %v6, i32 0
21 %v8 = or i1 %v7, undef
22 %v9 = or i1 %v8, undef
23 br i1 %v9, label %b2, label %b1
26 call void (ptr, ...) @f1(ptr @g0)
32 declare dso_local void @f1(ptr, ...) local_unnamed_addr #1
34 attributes #0 = { "target-cpu"="hexagonv66" "target-features"="+hvx-length64b,+hvxv66,+v66,-long-calls" }
35 attributes #1 = { "use-soft-float"="false" }