mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
add a predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
12a3f8302a
commit
b8d0b807fc
1 file changed
+1
@@ -244,6 +244,7 @@ namespace llvm {
|
||||
bool isZero() const { return category == fcZero; }
|
||||
bool isNonZero() const { return category != fcZero; }
|
||||
bool isNaN() const { return category == fcNaN; }
|
||||
bool isInfinity() const { return category == fcInfinity; }
|
||||
bool isNegative() const { return sign; }
|
||||
bool isPosZero() const { return isZero() && !isNegative(); }
|
||||
bool isNegZero() const { return isZero() && isNegative(); }
|
||||
|
||||
Reference in new issue
Block a user