Displaying 1 result from an estimated 1 matches for "deltamaybepositive".
2012 Apr 09
0
[LLVMdev] new methods for ScalarEvolutions
Working on a dependence test, I wrote some code that looked like this:
const SCEV *delta = ...;
bool deltaMaybeZero = !SE->isKnownNonZero(delta);
bool deltaMaybePositive = !SE->isKnownNonPositive(delta);
bool deltaMaybeNegative = !SE->isKnownNonNegative(delta);
I'm really happy with the power of the SCEVs, letting me answer these
questions, but I'm unhappy with how the code reads, namely the double
negatives.
Perhaps we might introduce a handful o...