blob: 4777e0f551fb47c27118d6e511e84b538f870764 [file] [log] [blame]
Reid Spencer4575ab22007-04-15 23:00:46 +00001; RUN: llvm-upgrade < %s | llvm-as | \
2; RUN: llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep movss
3; RUN: llvm-upgrade < %s | llvm-as | \
4; RUN: llc -march=x86 -mcpu=yonah -enable-x86-sse | not grep xmm
5; XFAIL: *
Chris Lattnerfaa60102006-02-01 01:45:02 +00006
7double %test1(double *%P) {
8 %X = load double* %P
9 ret double %X
10}
11
12double %test2() {
13 ret double 1234.56
14}
15
16; FIXME: Todo
17;double %test3(bool %B) {
18; %C = select bool %B, double 123.412, double 523.01123123
19; ret double %C
20;}
21