mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
These don't really need contexts either.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -270,6 +270,12 @@ public:
|
||||
/// getNullValue. Don't depend on == for doubles to tell us it's zero, it
|
||||
/// considers -0.0 to be null as well as 0.0. :(
|
||||
virtual bool isNullValue() const;
|
||||
|
||||
/// isNegativeZeroValue - Return true if the value is what would be returned
|
||||
/// by getZeroValueForNegation.
|
||||
virtual bool isNegativeZeroValue() const {
|
||||
return Val.isZero() && Val.isNegative();
|
||||
}
|
||||
|
||||
/// isExactlyValue - We don't rely on operator== working on double values, as
|
||||
/// it returns true for things that are clearly not equal, like -0.0 and 0.0.
|
||||
|
Reference in New Issue
Block a user