1
0
mirror of https://github.com/RPCSX/llvm.git synced 2025-01-14 08:31:04 +00:00

Add isInfinity to ConstantFP

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219463 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2014-10-10 02:15:04 +00:00
parent dd8c386432
commit 4728073883

@ -264,6 +264,9 @@ public:
/// isNegative - Return true if the sign bit is set.
bool isNegative() const { return Val.isNegative(); }
/// isInfinity - Return true if the value is infinity
bool isInfinity() const { return Val.isInfinity(); }
/// isNaN - Return true if the value is a NaN.
bool isNaN() const { return Val.isNaN(); }