2008-05-21 06:07:21 +08:00
|
|
|
; RUN: llvm-as %s -f -o %t.bc
|
2004-11-07 07:32:43 +08:00
|
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
|
2008-03-10 15:21:50 +08:00
|
|
|
define i32 @main() {
|
|
|
|
%X = add double 0.000000e+00, 1.000000e+00 ; <double> [#uses=1]
|
|
|
|
%Y = sub double 0.000000e+00, 1.000000e+00 ; <double> [#uses=2]
|
|
|
|
%Z = fcmp oeq double %X, %Y ; <i1> [#uses=0]
|
|
|
|
add double %Y, 0.000000e+00 ; <double>:1 [#uses=0]
|
|
|
|
ret i32 0
|
2003-01-13 09:03:16 +08:00
|
|
|
}
|
2008-03-10 15:21:50 +08:00
|
|
|
|