aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-11 02:47:19 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-11 02:47:19 +0000
commit8d92ec45c7ce20c328a0c090c31c1532be230b6e (patch)
tree2d3f81842e5723c5f3b6fcd7c9d42670545b7a4e /llvm/lib/Support/CommandLine.cpp
parent0506e4af2cb1a86a88cf52df7cb5805df861e7ef (diff)
downloadllvm-8d92ec45c7ce20c328a0c090c31c1532be230b6e.zip
llvm-8d92ec45c7ce20c328a0c090c31c1532be230b6e.tar.gz
llvm-8d92ec45c7ce20c328a0c090c31c1532be230b6e.tar.bz2
The TBB and TBH instructions for Thumb2 are really handy for jump tables, but
can only branch forward. To best take advantage of them, we'd like to adjust the basic blocks around a bit when reasonable. This patch puts basics in place to do that, with a super-simple algorithm for backwards jump table targets that creates a new branch after the jump table which branches backwards. Real heuristics for reordering blocks or other modifications rather than inserting branches will follow. llvm-svn: 86791
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions