diff options
author | Luke Lau <luke@igalia.com> | 2023-07-24 10:58:22 +0100 |
---|---|---|
committer | Luke Lau <luke@igalia.com> | 2023-07-24 10:58:57 +0100 |
commit | 5b95bba6fe411e82c7c31cb542748b00ff633cdb (patch) | |
tree | 4322ab5f08939250c1126f702888dd7d89b03caf /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 587b8f323d2db30928a2d9f54412aeead69b6cb7 (diff) | |
download | llvm-5b95bba6fe411e82c7c31cb542748b00ff633cdb.zip llvm-5b95bba6fe411e82c7c31cb542748b00ff633cdb.tar.gz llvm-5b95bba6fe411e82c7c31cb542748b00ff633cdb.tar.bz2 |
[RISCV] Set Fast flag for unaligned memory accesses
The +unaligned-scalar-mem and +unaligned-vector-mem features were added in
D126085 and D149375 respectively to allow subtargets to indicate that
they supported misaligned loads/stores with "sufficient" performance.
This is separate from whether or not the target actually supports
misaligned accesses, which could be determined from Zicclsm.
This patch enables the Fast flag under the assumption that any subtarget
that declares support for +unaligned-*-mem will want to opt into
optimisations that take advantage of misaligned scalar accesses, such as
store merging.
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D150771
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions