Teach ScalarEvolution how to reason about no-wrap flags on loops
[llvm/avr.git] / test / ExecutionEngine / 2003-01-10-FUCOM.ll
blobd996fa53d9c51bd7ec49e6c850b8d3e116e0a0d8
1 ; RUN: llvm-as %s -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
4 define i32 @main() {
5         %X = fadd double 0.000000e+00, 1.000000e+00             ; <double> [#uses=1]
6         %Y = fsub double 0.000000e+00, 1.000000e+00             ; <double> [#uses=2]
7         %Z = fcmp oeq double %X, %Y             ; <i1> [#uses=0]
8         fadd double %Y, 0.000000e+00            ; <double>:1 [#uses=0]
9         ret i32 0