diff options
author | Momchil Velikov <momchil.velikov@arm.com> | 2017-11-13 11:56:48 +0000 |
---|---|---|
committer | Momchil Velikov <momchil.velikov@arm.com> | 2017-11-13 11:56:48 +0000 |
commit | ce8bfffac19fc5f3cba68b27d8df14bf014668e6 (patch) | |
tree | 8862e5ac79a6f8809b9569eb62f72e785cc576fc /cmake/modules | |
parent | ff80f7609dc9d90d449a2ebba62150c7305e8edc (diff) |
[ARM] Place jump table as the first operand in additions
When generating table jump code for switch statements, place the jump
table label as the first operand in the various addition instructions
in order to enable addressing mode selectors to better match index
computation and possibly fold them into the addressing mode of the
table entry load instruction.
Differential revision: https://reviews.llvm.org/D39752
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions