OSDN Git Service

Remove an unused field.
authorDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 22:43:56 +0000 (22:43 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 22:43:56 +0000 (22:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60508 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index d375130..38fd7fa 100644 (file)
@@ -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;
 }