Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / 2006-05-25-CycleInDAG.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2
3 int %test() {
4         br bool false, label %cond_next33, label %cond_true12
5
6 cond_true12:
7         ret int 0
8
9 cond_next33:
10         %tmp44.i = call double %foo( double 0.000000e+00, int 32 )
11         %tmp61.i = load ubyte* null
12         %tmp61.i = cast ubyte %tmp61.i to int
13         %tmp58.i = or int 0, %tmp61.i
14         %tmp62.i = or int %tmp58.i, 0
15         %tmp62.i = cast int %tmp62.i to double
16         %tmp64.i = add double %tmp62.i, %tmp44.i
17         %tmp68.i = call double %foo( double %tmp64.i, int 0 )
18         ret int 0
19 }
20
21 declare double %foo(double, int)