1 ; RUN: llvm-as < %s | llc
3 sbyte %test1(double %X) {
4 %tmp.1 = cast double %X to sbyte
7 short %test2(double %X) {
8 %tmp.1 = cast double %X to short
11 int %test3(double %X) {
12 %tmp.1 = cast double %X to int
15 long %test4(double %X) {
16 %tmp.1 = cast double %X to long
19 ubyte %test1u(double %X) {
20 %tmp.1 = cast double %X to ubyte
23 ushort %test2u(double %X) {
24 %tmp.1 = cast double %X to ushort
27 uint %test3u(double %X) {
28 %tmp.1 = cast double %X to uint
31 ulong %test4u(double %X) {
32 %tmp.1 = cast double %X to ulong
36 sbyte %test1f(float %X) {
37 %tmp.1 = cast float %X to sbyte
40 short %test2f(float %X) {
41 %tmp.1 = cast float %X to short
44 int %test3f(float %X) {
45 %tmp.1 = cast float %X to int
48 long %test4f(float %X) {
49 %tmp.1 = cast float %X to long
52 ubyte %test1uf(float %X) {
53 %tmp.1 = cast float %X to ubyte
56 ushort %test2uf(float %X) {
57 %tmp.1 = cast float %X to ushort
60 uint %test3uf(float %X) {
61 %tmp.1 = cast float %X to uint
64 ulong %test4uf(float %X) {
65 %tmp.1 = cast float %X to ulong