diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-22 12:15:23 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-22 12:15:23 +0100 |
commit | a15b42146c617777b364e3b63babf1de547b9f26 (patch) | |
tree | c33c52b0d2db2decf837125afd7a335be12cba1c /llvm/lib/Support/APFloat.cpp | |
parent | c0071862bb426689acef09491b01b1edca9d747e (diff) | |
download | llvm-a15b42146c617777b364e3b63babf1de547b9f26.zip llvm-a15b42146c617777b364e3b63babf1de547b9f26.tar.gz llvm-a15b42146c617777b364e3b63babf1de547b9f26.tar.bz2 |
Revert rGf835779160ec303 "[APFloat] multiplySignificand - always pass IEEEFloat as const reference. NFCI."
This reverts commit f835779160ec30340676918915526615a07e826e while I investigate some buildbot failures
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r-- | llvm/lib/Support/APFloat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index c607134..7a4c8bd 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -1006,7 +1006,7 @@ IEEEFloat::integerPart IEEEFloat::subtractSignificand(const IEEEFloat &rhs, on to the full-precision result of the multiplication. Returns the lost fraction. */ lostFraction IEEEFloat::multiplySignificand(const IEEEFloat &rhs, - const IEEEFloat &addend) { + IEEEFloat addend) { unsigned int omsb; // One, not zero, based MSB. unsigned int partsCount, newPartsCount, precision; integerPart *lhsSignificand; |