bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Hexagon/vect/vect-infloop.ll
2025-02-14 19:21:04 +01:00

10 lines
300 B
LLVM

; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: convert_df2w
define void @a(ptr %p, ptr %q) {
%t = load <2 x double>, ptr %p
%r = fptosi <2 x double> %t to <2 x i8>
store <2 x i8> %r, ptr %q
ret void
}