Another fix to prevent debug info from affecting codegen. rdar://7797940
llvm-svn: 105470
This commit is contained in:
parent
64176c2c97
commit
3548803f62
|
@ -1024,6 +1024,10 @@ bool ARMLoadStoreOpt::LoadStoreMultipleOpti(MachineBasicBlock &MBB) {
|
||||||
RS->enterBasicBlock(&MBB);
|
RS->enterBasicBlock(&MBB);
|
||||||
MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
|
MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
|
||||||
while (MBBI != E) {
|
while (MBBI != E) {
|
||||||
|
if (MBBI->isDebugValue()) {
|
||||||
|
++MBBI;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (FixInvalidRegPairOp(MBB, MBBI))
|
if (FixInvalidRegPairOp(MBB, MBBI))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue