1 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; Make sure that this doesn't crash.
6 define void @foo(ptr %a0, ptr %a1) #0 {
7 %v0 = load <64 x i32>, ptr %a0, align 128
8 %v1 = load <64 x i32>, ptr %a1, align 128
9 %v2 = icmp sgt <64 x i32> %v0, zeroinitializer
10 %v3 = sext <64 x i1> %v2 to <64 x i32>
11 %v4 = add nsw <64 x i32> %v1, %v3
12 store <64 x i32> %v4, ptr %a1, align 128
16 attributes #0 = { nounwind "target-cpu"="hexagonv65" "target-features"="+hvx,+hvx-length128b" }