mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
skip dbg_value instructions
llvm-svn: 107154
This commit is contained in:
parent
6ecf606379
commit
151bec3c2d
@ -410,6 +410,8 @@ Thumb1RegisterInfo::saveScavengerRegister(MachineBasicBlock &MBB,
|
|||||||
// before that instead and adjust the UseMI.
|
// before that instead and adjust the UseMI.
|
||||||
bool done = false;
|
bool done = false;
|
||||||
for (MachineBasicBlock::iterator II = I; !done && II != UseMI ; ++II) {
|
for (MachineBasicBlock::iterator II = I; !done && II != UseMI ; ++II) {
|
||||||
|
if (II->isDebugValue())
|
||||||
|
continue;
|
||||||
// If this instruction affects R12, adjust our restore point.
|
// If this instruction affects R12, adjust our restore point.
|
||||||
for (unsigned i = 0, e = II->getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = II->getNumOperands(); i != e; ++i) {
|
||||||
const MachineOperand &MO = II->getOperand(i);
|
const MachineOperand &MO = II->getOperand(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user