1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

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 2067fb2a93
commit 1a125a870f

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