mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
In various places throughout the code generator, there were special
checks to avoid performing compile-time arithmetic on PPCDoubleDouble. Now that APFloat supports arithmetic on PPCDoubleDouble, those checks are no longer needed, and we can treat the type like any other. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166958 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1199,9 +1199,6 @@ public:
|
||||
/// have to duplicate its logic everywhere it's called.
|
||||
bool isExactlyValue(double V) const {
|
||||
bool ignored;
|
||||
// convert is not supported on this type
|
||||
if (&Value->getValueAPF().getSemantics() == &APFloat::PPCDoubleDouble)
|
||||
return false;
|
||||
APFloat Tmp(V);
|
||||
Tmp.convert(Value->getValueAPF().getSemantics(),
|
||||
APFloat::rmNearestTiesToEven, &ignored);
|
||||
|
||||
Reference in New Issue
Block a user