Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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