llvm.org GIT mirror llvm / 65609f2
Temporarily revert functionality change from my previous patch; it is too aggressive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57203 91177308-0d34-0410-b5e6-96231b3b80d8 Dale Johannesen 11 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
17261726 APInt::tcShiftLeft(significandParts(), newPartCount, shift);
17271727 else if (shift < 0)
17281728 APInt::tcShiftRight(significandParts(), newPartCount, -shift);
1729 // If the new size is shorter, we lost information.
1730 fs = (shift < 0) ? opInexact : opOK;
17311729 // gcc forces the Quiet bit on, which means (float)(double)(float_sNan)
17321730 // does not give you back the same bits. This is dubious, and we
17331731 // don't currently do it. You're really supposed to get
17341732 // an invalid operation signal at runtime, but nobody does that.
1733 fs = opOK;
17351734 } else {
17361735 semantics = &toSemantics;
17371736 fs = opOK;