Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y).
authorOwen Anderson <resistor@mac.com>
Tue, 30 Jul 2013 23:53:17 +0000 (23:53 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 30 Jul 2013 23:53:17 +0000 (23:53 +0000)
commitc7be519dc004a51cbb2db1ab8c450eec9d2305eb
treeb5d8a7e7c5630febce28147d3437444139530cef
parenta0016db818aecc14486b93c8f1f72642cac4e5de
Preserve fast-math flags when folding (fsub x, (fneg y)) to (fadd x, y).

llvm-svn: 187462
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/fneg-ext.ll