Skip to content

fail_bounds_check in unstable.rs should return ! #10023

Closed
@alexcrichton

Description

@alexcrichton

This tells LLVM that the function returns, and will hopefully help codegen to place the failing bounds check function calls at the end of the codegen'd function instead of inline with the rest of the code.

It would also be great to have a before/after analysis of some bounds checks to see if this improves codegen at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions