[PATCH] D152790: [ARM] Fix codegen of unaligned volatile load/store of i64
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 13:52:16 PDT 2023
dmgreen added a comment.
I haven't checked any hardware, but from reading the reference manuals it looked like the alignment requirement would be `Subtarget->hasV6Ops() || Subtarget->allowsUnalignedMem() ? 4 : 8`. As in for newer archs 4 is always fine. For v5te the ldrd requires an alignment of 4 with U=1 and 8 with U=0. I haven't tested that though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152790/new/
https://reviews.llvm.org/D152790
More information about the llvm-commits
mailing list