Andrew Kaylor | 7bbd6e3 | 2012-10-02 18:38:34 +0000 | [diff] [blame] | 1 | ; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null |
Danil Malyshev | bb8cef5 | 2012-05-17 21:07:47 +0000 | [diff] [blame] | 2 | |
3 | define i32 @foo(i32 %X, i32 %Y, double %A) { | ||||
4 | %cond212 = fcmp une double %A, 1.000000e+00 ; <i1> [#uses=1] | ||||
5 | %cast110 = zext i1 %cond212 to i32 ; <i32> [#uses=1] | ||||
6 | ret i32 %cast110 | ||||
7 | } | ||||
8 | |||||
9 | define i32 @main() { | ||||
10 | %reg212 = call i32 @foo( i32 0, i32 1, double 1.000000e+00 ) ; <i32> [#uses=1] | ||||
11 | ret i32 %reg212 | ||||
12 | } | ||||
13 |