summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-10-02 12:32:52 +0000
committerFlorian Hahn <flo@fhahn.com>2019-10-02 12:32:52 +0000
commit067ed96e8e5a642d671770ad8b5d109ae00eb9bc (patch)
treef9c36d84fb1595ecd1fe4a6c9220f23919de2fea /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parentf2ffa7a1c0e1f95e7baffa31d60b534d52ac9e8a (diff)
downloadbcm5719-llvm-067ed96e8e5a642d671770ad8b5d109ae00eb9bc.tar.gz
bcm5719-llvm-067ed96e8e5a642d671770ad8b5d109ae00eb9bc.zip
[InstCombine] Simplify fma multiplication to nan for undef or nan operands.
In similar fashion to D67721, we can simplify FMA multiplications if any of the operands is NaN or undef. In instcombine, we will simplify the FMA to an fadd with a NaN operand, which in turn gets folded to NaN. Note that this just changes SimplifyFMAFMul, so we still not catch the case where only the Add part of the FMA is Nan/Undef. Reviewers: cameron.mcinally, mcberg2017, spatel, arsenm Reviewed By: cameron.mcinally Differential Revision: https://reviews.llvm.org/D68265 llvm-svn: 373459
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud