aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/constant-fold-gep.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-26 23:33:11 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-26 23:33:11 +0000
commitf9f1c7aa89c87a9c8d6b8b317957b24e44f66570 (patch)
tree1befb07ab1857a8bb2b70b9539864b0d548141f3 /test/Other/constant-fold-gep.ll
parent70a1860a463ce5278486f70d3808efdfc4c2e191 (diff)
downloadexternal_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.tar.gz
external_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.tar.bz2
external_llvm-f9f1c7aa89c87a9c8d6b8b317957b24e44f66570.zip
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 'test/Other/constant-fold-gep.ll')
0 files changed, 0 insertions, 0 deletions