[Verifier] Check that debug values have proper size
[oota-llvm.git] / test / CodeGen / Hexagon / vect / vect-packhl.ll
1 ; Extracted from test/CodeGen/Generic/vector-casts.ll: used to loop indefinitely.
2 ; RUN: llc -march=hexagon < %s | FileCheck %s
3 ; CHECK: packhl
4
5 define void @a(<2 x double>* %p, <2 x i8>* %q) {
6         %t = load <2 x double>, <2 x double>* %p
7         %r = fptosi <2 x double> %t to <2 x i8>
8         store <2 x i8> %r, <2 x i8>* %q
9         ret void
10 }