Skip to content

consider switching from manual indirect passing to byval #10030

Closed
@thestinger

Description

@thestinger

If we did this, LLVM would generate the copy for us, but only if needed (not a readonly parameter). It also conveys more information to the body of the function, by letting it know the pointer is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-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