[InstSimplify] Restore fsub 0.0, (fsub 0.0, X) ==> X optzn
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 29 Feb 2016 12:18:25 +0000 (12:18 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 29 Feb 2016 12:18:25 +0000 (12:18 +0000)
commit6bb15021b37cd79e0fa8c361880756f90d9b5ba3
tree2ba8919fac8941e173faa4e5e114487e1371562b
parent76d76bb006c8b6305357f9797faf52a063ce38a9
[InstSimplify] Restore fsub 0.0, (fsub 0.0, X) ==> X optzn

I accidentally removed this in r262212 but there was no test coverage to
detect it.

llvm-svn: 262215
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/fast-math.ll