[llvm-commits] [llvm] r148216 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Stepan Dyatkovskiy
stpworld at narod.ru
Sun Jan 15 01:45:11 PST 2012
Author: dyatkovskiy
Date: Sun Jan 15 03:45:11 2012
New Revision: 148216
URL: http://llvm.org/viewvc/llvm-project?rev=148216&view=rev
Log:
Cosmetic patch for r148215.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp?rev=148216&r1=148215&r2=148216&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp Sun Jan 15 03:45:11 2012
@@ -129,19 +129,6 @@
// 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;
More information about the llvm-commits
mailing list