aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/2003-01-04-ArgumentBug.ll
blob: 26216f72376a41c54a167f4e771bd61b1893462a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

implementation   ; Functions:

declare void %__main()

int %foo(int %X, int %Y, double %A) {
bb0:		; No predecessors!
	%cond212 = setne double %A, 1.000000e+00		; <bool> [#uses=1]
	%cast110 = cast bool %cond212 to int		; <int> [#uses=1]
	ret int %cast110
}

int %main() {
bb0:		; No predecessors!
	call void %__main( )
	%reg212 = call int %foo( int 0, int 1, double 1.000000e+00 )		; <int> [#uses=1]
	ret int %reg212
}