remove dead expr
authorChris Lattner <sabre@nondot.org>
Sat, 11 Feb 2006 01:43:37 +0000 (01:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 11 Feb 2006 01:43:37 +0000 (01:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26116 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/LoopSimplify.cpp

index af0fe7820e689e09ba16a602e8c18fc7d666c06c..540940e4aec1d9dfd62439569dee8a2d1a279685 100644 (file)
@@ -195,7 +195,6 @@ bool LoopSimplify::ProcessLoop(Loop *L) {
   // incoming values (the loop is canonicalized), we may have simplified the PHI
   // down to 'X = phi [X, Y]', which should be replaced with 'Y'.
   PHINode *PN;
-  DominatorSet &DS = getAnalysis<DominatorSet>();
   for (BasicBlock::iterator I = L->getHeader()->begin();
        (PN = dyn_cast<PHINode>(I++)); )
     if (Value *V = PN->hasConstantValue()) {