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:
c4a0c84
)
clarify comment
author
Jim Grosbach
<grosbach@apple.com>
Mon, 16 Nov 2009 18:55:47 +0000
(18:55 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 16 Nov 2009 18:55:47 +0000
(18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88933
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 e3b577e21ec27a07d95dc95ace80fd9f009a187b..52cdd7bd24a142458b6d45bd5dede39a298cfc8a 100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-1718,8
+1718,8
@@
bool ARMConstantIslands::OptimizeThumb2JumpTables(MachineFunction &MF) {
return MadeChange;
}
-/// ReorderThumb2JumpTables -
Use tbb / tbh instructions to generate smaller
-/// jump
tables when it's possible
.
+/// ReorderThumb2JumpTables -
Adjust the function's block layout to ensure that
+/// jump
tables always branch forwards, since that's what tbb and tbh need
.
bool ARMConstantIslands::ReorderThumb2JumpTables(MachineFunction &MF) {
bool MadeChange = false;