mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 05:32:22 +00:00
early exit for dbg_value instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e13715fd5
commit
9cfcfeb24b
@ -492,6 +492,8 @@ void ARMConstantIslands::InitialFunctionScan(MachineFunction &MF,
|
|||||||
unsigned MBBSize = 0;
|
unsigned MBBSize = 0;
|
||||||
for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
|
if (I->isDebugValue())
|
||||||
|
continue;
|
||||||
// Add instruction size to MBBSize.
|
// Add instruction size to MBBSize.
|
||||||
MBBSize += TII->GetInstSizeInBytes(I);
|
MBBSize += TII->GetInstSizeInBytes(I);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user