view test/CodeGen/Hexagon/vect/vect-packhl.ll @ 95:afa8332a0e37

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents
children
line wrap: on
line source

; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: packhl

define void @a(<2 x double>* %p, <2 x i8>* %q) {
        %t = load <2 x double>, <2 x double>* %p
	%r = fptosi <2 x double> %t to <2 x i8>
        store <2 x i8> %r, <2 x i8>* %q
	ret void
}