projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e13715
)
early exit for dbg_value instructions
author
Jim Grosbach
<grosbach@apple.com>
Mon, 21 Jun 2010 17:49:23 +0000
(17:49 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 21 Jun 2010 17:49:23 +0000
(17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106430
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMConstantIslandPass.cpp
b/lib/Target/ARM/ARMConstantIslandPass.cpp
index 3be6d1c821a4a06cdfd25253ef9c34479c5d20ff..401000277c7f2b151eb2a21e3f381831c5a7d0ed 100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-492,6
+492,8
@@
void ARMConstantIslands::InitialFunctionScan(MachineFunction &MF,
unsigned MBBSize = 0;
for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
I != E; ++I) {
+ if (I->isDebugValue())
+ continue;
// Add instruction size to MBBSize.
MBBSize += TII->GetInstSizeInBytes(I);