Skip to content

use the type's real alignment for the memmove/memcpy intrinsics, not 1 #6716

Closed
@thestinger

Description

@thestinger

LLVM carries this all the way down to the IR after optimization, so it's not using optimal instructions for swapping when it can't infer an alignment after inlining.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions