xref: /llvm-project/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll (revision acdc419c897f8a9414c7a00c8908ac32312afee2)
1; RUN: opt < %s -passes=instcombine -S | grep sub
2; PR2553
3
4define double @test(double %X) nounwind {
5	; fsub of self can't be optimized away.
6	%Y = fsub double %X, %X
7	ret double %Y
8}
9