Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / sse-load-ret.ll
1 ; 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
4
5 double %test1(double *%P) {
6         %X = load double* %P
7         ret double %X
8 }
9
10 double %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