10 lines
300 B
LLVM
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
|
|
}
|