mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-29 06:53:53 +00:00
Now this temp. fix is not required.
llvm-svn: 40034
This commit is contained in:
parent
8312ed6f77
commit
4020116257
@ -231,10 +231,6 @@ Value *LCSSA::GetValueForBlock(DomTreeNode *BB, Instruction *OrigInst,
|
||||
|
||||
DomTreeNode *IDom = BB->getIDom();
|
||||
|
||||
// If the block has no dominator, bail
|
||||
if (!IDom)
|
||||
return V = UndefValue::get(OrigInst->getType());
|
||||
|
||||
// Otherwise, there are two cases: we either have to insert a PHI node or we
|
||||
// don't. We need to insert a PHI node if this block is not dominated by one
|
||||
// of the exit nodes from the loop (the loop could have multiple exits, and
|
||||
|
Loading…
Reference in New Issue
Block a user