mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +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…
x
Reference in New Issue
Block a user