blob: 9f895983fdb16d9f0121f0761c0a05bc3926fc36 [file] [log] [blame]
Andrew Kaylor7bbd6e32012-10-02 18:38:34 +00001; RUN: %lli -mtriple=%mcjit_triple -use-mcjit %s > /dev/null
Danil Malyshevbb8cef52012-05-17 21:07:47 +00002
3define 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
9define i32 @main() {
10 %reg212 = call i32 @foo( i32 0, i32 1, double 1.000000e+00 ) ; <i32> [#uses=1]
11 ret i32 %reg212
12}
13