1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/ExecutionEngine/2003-01-04-ArgumentBug.ll

17 lines
384 B
LLVM
Raw Normal View History

2004-11-07 00:32:43 +01:00
; RUN: llvm-as -f %s -o %t.bc
; RUN: lli %t.bc > /dev/null
2003-01-13 02:03:16 +01:00
implementation ; Functions:
int %foo(int %X, int %Y, double %A) {
%cond212 = setne double %A, 1.000000e+00 ; <bool> [#uses=1]
%cast110 = cast bool %cond212 to int ; <int> [#uses=1]
ret int %cast110
}
int %main() {
%reg212 = call int %foo( int 0, int 1, double 1.000000e+00 ) ; <int> [#uses=1]
ret int %reg212
}