Skip to content

Use separate memcpy source/dest alignments in LLVM 7 #49740

Closed
@hanna-kruppe

Description

@hanna-kruppe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions