summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-05 11:10:31 +0000
committerTilmann Scheller <tilmann.scheller@googlemail.com>2013-09-05 11:10:31 +0000
commit10b5086e6e945b830ff909821240eff5c4a42bfc (patch)
treec7480522b0cf9d0240672fae665b76dadc4f9da0 /lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent16277c4698f36a756c540fae326874774156aaed (diff)
downloadllvm-10b5086e6e945b830ff909821240eff5c4a42bfc.tar.gz
llvm-10b5086e6e945b830ff909821240eff5c4a42bfc.tar.bz2
llvm-10b5086e6e945b830ff909821240eff5c4a42bfc.tar.xz
ARM: Add GPR register class excluding LR for use with the ADR instruction.
This improves code generation for jump tables by avoiding the emission of "mov pc, lr" which could fool the processor into believing this is a return from a function causing mispredicts. The code generation logic for jump tables uses ADR to materialize the address of the jump target. Patch by Daniel Stewart! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions