diff options
| author | Florian Hahn <flo@fhahn.com> | 2019-09-25 17:03:20 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2019-09-25 17:03:20 +0000 |
| commit | f3ab99dcf8afaa2b4617a0c749782a2e664d77a8 (patch) | |
| tree | 5dacc82b9f7732b4eed4d7aeef7a1c423ee40f0d /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 24337db616668125b55781a82d7651800934ae4a (diff) | |
[InstCombine] Limit FMul constant folding for fma simplifications.
As @reames pointed out post-commit, rL371518 adds additional rounding
in some cases, when doing constant folding of the multiplication.
This breaks a guarantee llvm.fma makes and must be avoided.
This patch reapplies rL371518, but splits off the simplifications not
requiring rounding from SimplifFMulInst as SimplifyFMAFMul.
Reviewers: spatel, lebedev.ri, reames, scanon
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D67434
llvm-svn: 372899
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
