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:
Devang Patel 2007-04-09 22:20:10 +00:00
parent 7c7ba9d2d5
commit 6c36157f3d

View File

@ -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);