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