Use separate memcpy source/dest alignments in LLVM 7 #49740
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
LLVM trunk recently switched from a single alignment argument that applies to source and destination to annotating both the source and destination pointers with their respective alignment. See https://lists.llvm.org/pipermail/llvm-dev/2018-March/122143.html and the rest of that thread for details.
After we upgrade to LLVM 7, we should try to make use of that anywhere we know that the source and destination have different alignments. cc @eddyb
The text was updated successfully, but these errors were encountered: