IRCE: generalize InductiveRangeCheck::computeSafeIterationSpace to
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 21 Feb 2015 22:20:22 +0000 (22:20 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 21 Feb 2015 22:20:22 +0000 (22:20 +0000)
commitb9b88bd77b1e4fb378fe93e98601fe9af542a27c
tree8900c2b4a82e24ce7de7332bd76ea708305b7b71
parentc5e1132ac2ba9b2efc552d4be050c800ddcbaf72
IRCE: generalize InductiveRangeCheck::computeSafeIterationSpace to
work with a non-canonical induction variable.

This is currently a non-functional change because we only ever call
computeSafeIterationSpace on a canonical induction variable; but the
generalization will be useful in a later commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230151 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp