aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2021-07-22 17:16:20 +0100
committerPaul Walker <paul.walker@arm.com>2021-07-26 16:24:16 +0100
commit3b77e2737c8545aa628e1d2cff5799db033f7081 (patch)
tree1e562d61d5c57dd3e7e1bc71cdff386dce5fa68b /llvm/tools/llvm-objcopy/ELF/Object.cpp
parent3ca6dea05dec44680f29a40de7481aede09cae8a (diff)
downloadllvm-3b77e2737c8545aa628e1d2cff5799db033f7081.zip
llvm-3b77e2737c8545aa628e1d2cff5799db033f7081.tar.gz
llvm-3b77e2737c8545aa628e1d2cff5799db033f7081.tar.bz2
[SVE] Use reg+reg addressing mode for immediate offsets.
For reg+imm SVE addressing mode imm is implictly scaled by VL, making them impractical for truely immediate offsets. However, if the offset can be unscaled based on the storage element type we can use the reg+reg SVE addressing mode and thus either reduce the number of generate add instructions or replace them with a mov instruction that can be hoisted from the hot code path. Differential Revision: https://reviews.llvm.org/D106744
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions