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