remove a dead check, this was needed before we had an explicit veto on uses of phis.

llvm-svn: 123569
This commit is contained in:
Chris Lattner 2011-01-16 05:37:55 +00:00
parent d55581ded8
commit adb1a233b1
1 changed files with 0 additions and 5 deletions

View File

@ -552,11 +552,6 @@ Instruction *InstCombiner::FoldOpIntoPhi(Instruction &I) {
if (InvokeInst *II = dyn_cast<InvokeInst>(InVal))
if (II->getParent() == NonConstBB)
return 0;
// If the incoming non-constant value is in I's block, we have an infinite
// loop.
if (NonConstBB == I.getParent())
return 0;
}
// If there is exactly one non-constant value, we can insert a copy of the