[PATCH] D28884: [SCEV] Simplify/generalize howFarToZero solving.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 17:24:54 PST 2017
efriedma created this revision.
Herald added a subscriber: mzolotukhin.
Make SolveLinEquationWithOverflow take the start as a SCEV, so we can solve more cases. With that implemented, get rid of the unnecessary special case for powers of two.
The additional functionality probably isn't particularly useful, but it might help a little for certain cases involving pointer arithmetic.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6739 bytes
Desc: not available
More information about the llvm-commits