summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-01-15 09:45:11 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-01-15 09:45:11 +0000
commit7ec12e431aaabd3ca2b5cb72da852f98ec74954f (patch)
tree1684f68e1bc7910662e3ba4ac9315b47fe701582 /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
parentcb2adbacf87e498e8ec6fd13d9f69bed5846241b (diff)
downloadbcm5719-llvm-7ec12e431aaabd3ca2b5cb72da852f98ec74954f.tar.gz
bcm5719-llvm-7ec12e431aaabd3ca2b5cb72da852f98ec74954f.zip
Cosmetic patch for r148215.
llvm-svn: 148216
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopUnswitch.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
index 3ccb27276dd..5b918cc3846 100644
--- a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -129,19 +129,6 @@ namespace {
// after RewriteLoopBodyWithConditionConstant rewrites first loop.
std::vector<Loop*> LoopProcessWorklist;
- // TODO: This few lines are here for cosmetic purposes only.
- // Will be removed with the next commit.
- struct LoopProperties {
- unsigned CanBeUnswitchedCount;
- unsigned SizeEstimation;
- };
-
- // TODO: This few lines are here for cosmetic purposes only.
- // Will be removed with the next commit.
- typedef DenseMap<const Loop*, LoopProperties> LoopPropsMap;
- typedef LoopPropsMap::iterator LoopPropsMapIt;
- LoopPropsMap LoopsProperties;
-
LUAnalysisCache BranchesInfo;
bool OptimizeForSize;
OpenPOWER on IntegriCloud