Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | \ |
2 | ; RUN: llc -march=x86 -mcpu=yonah | not grep movss | ||||
3 | ; RUN: llvm-upgrade < %s | llvm-as | \ | ||||
4 | ; RUN: llc -march=x86 -mcpu=yonah | not grep xmm | ||||
5 | |||||
6 | double %test1(double *%P) { | ||||
7 | %X = load double* %P | ||||
8 | ret double %X | ||||
9 | } | ||||
10 | |||||
11 | double %test2() { | ||||
12 | ret double 1234.56 | ||||
13 | } | ||||
14 | |||||
15 | ; FIXME: Todo | ||||
16 | ;double %test3(bool %B) { | ||||
17 | ; %C = select bool %B, double 123.412, double 523.01123123 | ||||
18 | ; ret double %C | ||||
19 | ;} | ||||
20 |