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/VMCore/ConstantFold.cpp | |
| parent | 70a1860a463ce5278486f70d3808efdfc4c2e191 (diff) | |
| download | external_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.zip external_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.tar.gz external_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.tar.bz2 | |
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/VMCore/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions
