This is the same as isKnownNeverNaN
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4555 | Infinity. In chapter 9.2.1 of 754-2019 it defines exp(0) and exp2(0) as 1. Since we know this isn't infinity, it seems like now is a good time to add a check? |
llvm/lib/Analysis/ValueTracking.cpp | ||
---|---|---|
4555 | exp/exp2 is never a negative number, not even -0 (exp(-inf) = +0). |
Infinity. In chapter 9.2.1 of 754-2019 it defines exp(0) and exp2(0) as 1. Since we know this isn't infinity, it seems like now is a good time to add a check?