[InstCombine] Signed saturation patterns
[llvm-core.git] / test / Transforms / InstCombine / 2008-07-16-fsub.ll
blob672b4e955262b562c8025a94828f13580b902279
1 ; RUN: opt < %s -instcombine -S | grep sub
2 ; PR2553
4 define double @test(double %X) nounwind {
5         ; fsub of self can't be optimized away.
6         %Y = fsub double %X, %X
7         ret double %Y