mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Change LegalFPImmediates to use APFloat.
Add APFloat interfaces to ConstantFP, SelectionDAG. Fix integer bit in double->APFloat conversion. Convert LegalizeDAG to use APFloat interface in ConstantFPSDNode uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1617,7 +1617,7 @@ APFloat::APFloat(double d) {
|
||||
sign = mysign;
|
||||
category = fcNormal;
|
||||
exponent = myexponent - 1023;
|
||||
*significandParts() = mysignificand | 0x100000000000000LL;
|
||||
*significandParts() = mysignificand | 0x10000000000000LL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user