Temporarily reverting:
[oota-llvm.git] / test / ExecutionEngine / 2003-01-04-ArgumentBug.ll
1 ; RUN: llvm-upgrade %s | llvm-as -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4
5 implementation   ; Functions:
6
7 int %foo(int %X, int %Y, double %A) {
8         %cond212 = setne double %A, 1.000000e+00                ; <bool> [#uses=1]
9         %cast110 = cast bool %cond212 to int            ; <int> [#uses=1]
10         ret int %cast110
11 }
12
13 int %main() {
14         %reg212 = call int %foo( int 0, int 1, double 1.000000e+00 )            ; <int> [#uses=1]
15         ret int %reg212
16 }