mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
remove dead expr
llvm-svn: 26116
This commit is contained in:
parent
55467f611d
commit
95fccc4772
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user