llvm-for-llvmta/test/CodeGen/Hexagon/autohvx/isel-store-bitcast-v128i1.ll

16 lines
438 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=hexagon < %s | FileCheck %s
; Primarily check if this compiles without failing.
; CHECK-LABEL: fred:
; CHECK: memd
define void @fred(<128 x i8> %a0, <128 x i8> %a1, i128* %a2) #0 {
%v0 = icmp eq <128 x i8> %a0, %a1
%v1 = bitcast <128 x i1> %v0 to i128
store i128 %v1, i128* %a2, align 16
ret void
}
attributes #0 = { nounwind "target-cpu"="hexagonv66" "target-features"="+v66,+hvx,+hvxv66,+hvx-length128b" }