I cast, therefore I think I know what I'm doing.
[llvm/msp430.git] / test / ExecutionEngine / 2003-01-10-FUCOM.ll
blob628be16e319104f02c6672a6c417b9768bf60137
1 ; RUN: llvm-as %s -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
4 define i32 @main() {
5         %X = add double 0.000000e+00, 1.000000e+00              ; <double> [#uses=1]
6         %Y = sub double 0.000000e+00, 1.000000e+00              ; <double> [#uses=2]
7         %Z = fcmp oeq double %X, %Y             ; <i1> [#uses=0]
8         add double %Y, 0.000000e+00             ; <double>:1 [#uses=0]
9         ret i32 0