blob: 26216f72376a41c54a167f4e771bd61b1893462a [file] [log] [blame]
Chris Lattner4a8068f2003-01-13 01:03:16 +00001
2implementation ; Functions:
3
4declare void %__main()
5
6int %foo(int %X, int %Y, double %A) {
7bb0: ; No predecessors!
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
13int %main() {
14bb0: ; No predecessors!
15 call void %__main( )
16 %reg212 = call int %foo( int 0, int 1, double 1.000000e+00 ) ; <int> [#uses=1]
17 ret int %reg212
18}