mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
Check _all_ PHINodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c7ba9d2d5
commit
6c36157f3d
@ -366,7 +366,7 @@ void LoopRotate::updateExitBlock() {
|
||||
|
||||
// There is already one incoming value from original pre-header block.
|
||||
if (PN->getBasicBlockIndex(OrigPreHeader) != -1)
|
||||
return;
|
||||
continue;
|
||||
|
||||
const RenameData *ILoopHeaderInfo;
|
||||
Value *V = PN->getIncomingValueForBlock(OrigHeader);
|
||||
|
Loading…
Reference in New Issue
Block a user