aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
diff options
context:
space:
mode:
authorEhud Katz <ehudkatz@gmail.com>2020-01-07 08:45:18 +0200
committerEhud Katz <ehudkatz@gmail.com>2020-01-07 08:45:18 +0200
commit08de551f4f1087c4dd3220fee8ec328fa168168c (patch)
treebafa0e9e709954e1ca0a76e2cdb94a13879c460f /lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
parent188f72ab20d9523d6ffde8ad8361ecf17bb75946 (diff)
downloadllvm-08de551f4f1087c4dd3220fee8ec328fa168168c.zip
llvm-08de551f4f1087c4dd3220fee8ec328fa168168c.tar.gz
llvm-08de551f4f1087c4dd3220fee8ec328fa168168c.tar.bz2
[APFloat] Fix fusedMultiplyAdd when `this` equals to `Addend`
Up until now, the arguments to `fusedMultiplyAdd` are passed by reference. We must save the `Addend` value on the beginning of the function, before we modify `this`, as they may be the same reference. To fix this, we now pass the `addend` parameter of `multiplySignificand` by value (instead of by-ref), and have a default value of zero. Fix PR44051. Differential Revision: https://reviews.llvm.org/D70422
Diffstat (limited to 'lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp')
0 files changed, 0 insertions, 0 deletions