aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-12-03 22:43:56 +0000
committerDale Johannesen <dalej@apple.com>2008-12-03 22:43:56 +0000
commit308f24d4525a6365f8d65ba821786189c080c0ce (patch)
tree076b51859f4860bd7c498cc253bb101cb0ccd3aa /lib/Transforms
parentd71703deec9e3fe90833e82e0c8b6bf7e5af55fd (diff)
downloadexternal_llvm-308f24d4525a6365f8d65ba821786189c080c0ce.zip
external_llvm-308f24d4525a6365f8d65ba821786189c080c0ce.tar.gz
external_llvm-308f24d4525a6365f8d65ba821786189c080c0ce.tar.bz2
Remove an unused field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index d375130..38fd7fa 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -542,10 +542,6 @@ namespace {
/// instruction.
SCEVHandle Imm;
- /// EmittedBase - The actual value* to use for the base value of this
- /// operation. This is null if we should just use zero so far.
- Value *EmittedBase;
-
// isUseOfPostIncrementedValue - True if this should use the
// post-incremented version of this IV, not the preincremented version.
// This can only be set in special cases, such as the terminating setcc
@@ -556,7 +552,7 @@ namespace {
BasedUser(IVStrideUse &IVSU, ScalarEvolution *se)
: SE(se), Base(IVSU.Offset), Inst(IVSU.User),
OperandValToReplace(IVSU.OperandValToReplace),
- Imm(SE->getIntegerSCEV(0, Base->getType())), EmittedBase(0),
+ Imm(SE->getIntegerSCEV(0, Base->getType())),
isUseOfPostIncrementedValue(IVSU.isUseOfPostIncrementedValue) {}
// Once we rewrite the code to insert the new IVs we want, update the
@@ -577,9 +573,6 @@ namespace {
void BasedUser::dump() const {
cerr << " Base=" << *Base;
cerr << " Imm=" << *Imm;
- if (EmittedBase)
- cerr << " EB=" << *EmittedBase;
-
cerr << " Inst: " << *Inst;
}