Fix ctlz and cttz. llvm definition requires them to return number of bits in of the...
[oota-llvm.git] / test / CodeGen / X86 / sse-load-ret.ll
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