mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
convertFromInteger, as originally written, expected sign-extended
input. APInt unfortunately zero-extends signed integers, so Dale modified the function to expect zero-extended input. Make this assumption explicit in the function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -194,8 +194,8 @@ namespace llvm {
|
||||
opStatus convert(const fltSemantics &, roundingMode);
|
||||
opStatus convertToInteger(integerPart *, unsigned int, bool,
|
||||
roundingMode) const;
|
||||
opStatus convertFromInteger(const integerPart *, unsigned int, bool,
|
||||
roundingMode);
|
||||
opStatus convertFromZeroExtendedInteger(const integerPart *, unsigned int,
|
||||
bool, roundingMode);
|
||||
opStatus convertFromString(const char *, roundingMode);
|
||||
APInt convertToAPInt() const;
|
||||
double convertToDouble() const;
|
||||
|
||||
Reference in New Issue
Block a user