Fix all the remaining lost-fast-math-flags bugs I've been able to find. The most...
authorOwen Anderson <resistor@mac.com>
Mon, 20 Jan 2014 07:44:53 +0000 (07:44 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 20 Jan 2014 07:44:53 +0000 (07:44 +0000)
commit1e1446bf84a6a36366c40f995e68ca6a460c9839
tree04a5b76e0a4e4588d038231e423826e0210c13ce
parentf55ec9ac184e654ff8052b02c4f88fc27710f4da
Fix all the remaining lost-fast-math-flags bugs I've been able to find.  The most important of these are cases in the generic logic for combining BinaryOperators.
This logic hadn't been updated to handle FastMathFlags, and it took me a while to detect it because it doesn't show up in a simple search for CreateFAdd.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAddSub.cpp
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/fdiv.ll
test/Transforms/InstCombine/fmul.ll
test/Transforms/InstCombine/select-2.ll