summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.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
commita1787a58350d45c61e4586cbe1cb8271572f0496 (patch)
tree96a937da380e40b12dd409bd35ae82e62725da82 /clang/lib/AST/ASTContext.cpp
parentf3a5d004915bf70a32359d45d043a4197dc4c20d (diff)
downloadbcm5719-llvm-a1787a58350d45c61e4586cbe1cb8271572f0496.tar.gz
bcm5719-llvm-a1787a58350d45c61e4586cbe1cb8271572f0496.zip
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! llvm-svn: 190043
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud