brintos

brintos / llvm-project-archived public Read only

0
0
Text · 508 B · 3f6a040 Raw
17 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2 3; Make sure that this doesn't crash.4; CHECK: vadd5 6define void @foo(ptr %a0, ptr %a1) #0 {7  %v0 = load <64 x i32>, ptr %a0, align 1288  %v1 = load <64 x i32>, ptr %a1, align 1289  %v2 = icmp sgt <64 x i32> %v0, zeroinitializer10  %v3 = sext <64 x i1> %v2 to <64 x i32>11  %v4 = add nsw <64 x i32> %v1, %v312  store <64 x i32> %v4, ptr %a1, align 12813  ret void14}15 16attributes #0 = { nounwind "target-cpu"="hexagonv65" "target-features"="+hvx,+hvx-length128b" }17