xref: /aosp_15_r20/external/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt < %s -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