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 | a6ae101afab89e26ae953100ee25c390722c33ba (patch) | |
tree | d5cff98fc2d0e166971e46f62309e5e8b19e70f1 /llvm/lib/Transforms/Utils/LoopSimplify.cpp | |
parent | 5995d0160c9fca63ae8a3a308f671aee22c1bcc8 (diff) | |
download | bcm5719-llvm-a6ae101afab89e26ae953100ee25c390722c33ba.tar.gz bcm5719-llvm-a6ae101afab89e26ae953100ee25c390722c33ba.zip |
remove dead expr
llvm-svn: 26116
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopSimplify.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index af0fe7820e6..540940e4aec 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/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()) { |