aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2008-07-16-fsub.ll
blob: 672b4e955262b562c8025a94828f13580b902279 (plain)
1
2
3
4
5
6
7
8
; RUN: opt < %s -instcombine -S | grep sub
; PR2553

define double @test(double %X) nounwind {
	; fsub of self can't be optimized away.
	%Y = fsub double %X, %X
	ret double %Y
}