diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-26 23:33:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-26 23:33:11 +0000 |
commit | f9f1c7aa89c87a9c8d6b8b317957b24e44f66570 (patch) | |
tree | 1befb07ab1857a8bb2b70b9539864b0d548141f3 /lib/Analysis/ConstantFolding.cpp | |
parent | 70a1860a463ce5278486f70d3808efdfc4c2e191 (diff) |
Break up getProfitableChainIncrement().
The required checks are moved to ChainInstruction() itself and the
policy decisions are moved to IVChain::isProfitableInc().
Also cache the ExprBase in IVChain to avoid frequent recomputations.
No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions