blob: 5c3df3224bbdaac88f1d571a70b105eef7eaa6bb (
plain)
1
2
3
4
5
6
7
8
9
10
|
; 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
}
|