From 441365c46ed5d9f3ea9136deaf79f24a1468a7e8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 11 Feb 2006 01:43:37 +0000 Subject: [PATCH] remove dead expr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26116 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/LoopSimplify.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index af0fe7820e6..540940e4aec 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -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(); for (BasicBlock::iterator I = L->getHeader()->begin(); (PN = dyn_cast(I++)); ) if (Value *V = PN->hasConstantValue()) {