diff options
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 c9ecd5a..780d1d0c 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/lib/Support/APFloat.cpp @@ -4866,7 +4866,7 @@ APFloat::opStatus APFloat::convert(const fltSemantics &ToSemantics, APFloat APFloat::getAllOnesValue(const fltSemantics &Semantics, unsigned BitWidth) { - return APFloat(Semantics, APInt::getAllOnesValue(BitWidth)); + return APFloat(Semantics, APInt::getAllOnes(BitWidth)); } void APFloat::print(raw_ostream &OS) const { |