Check _all_ PHINodes.

llvm-svn: 35836
This commit is contained in:
Devang Patel 2007-04-09 22:20:10 +00:00
parent 19ccd6226c
commit bca0d57179
1 changed files with 1 additions and 1 deletions

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