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:
f4cbc0e
)
Block renumbering
author
Jim Grosbach
<grosbach@apple.com>
Fri, 13 Nov 2009 01:19:24 +0000
(
01:19
+0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 13 Nov 2009 01:19:24 +0000
(
01:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87056
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 8f46c6b35c0c67c4f2bfef663ff3e35c37d70803..e5ba8ba298b49ad884ed6c48878dbd80069e0ee0 100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-1804,9
+1804,7
@@
AdjustJTTargetBlockForward(MachineBasicBlock *BB, MachineBasicBlock *JTBB)
JTBB->addSuccessor(NewBB);
// Update internal data structures to account for the newly inserted MBB.
- // This is almost the same as UpdateForInsertedWaterBlock, except that
- // the Water goes after OrigBB, not NewBB.
- MF.RenumberBlocks(NewBB);
+ MF.RenumberBlocks();
// Insert a size into BBSizes to align it properly with the (newly
// renumbered) block numbers.