diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-11 01:43:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-11 01:43:37 +0000 |
commit | 441365c46ed5d9f3ea9136deaf79f24a1468a7e8 (patch) | |
tree | c7caf59a6cc383268c19e6dda33354a29d2761c9 /lib/Transforms/Utils/LoopSimplify.cpp | |
parent | ce72b1755f5993a42c2e04e32a93fa5228a285d4 (diff) |
remove dead expr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r-- | lib/Transforms/Utils/LoopSimplify.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index af0fe7820e..540940e4ae 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<DominatorSet>(); for (BasicBlock::iterator I = L->getHeader()->begin(); (PN = dyn_cast<PHINode>(I++)); ) if (Value *V = PN->hasConstantValue()) { |