Chris Lattner | 16865af | 2004-02-23 03:21:09 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 |
2 | |||||
3 | bool %test1(double %X) { | ||||
4 | %V = cast double %X to bool | ||||
5 | ret bool %V | ||||
6 | } | ||||
7 | |||||
8 | double %test2(ulong %X) { | ||||
9 | %V = cast ulong %X to double | ||||
10 | ret double %V | ||||
11 | } |