Skip to content

Consider not running the verifier in non-debug builds #3554

Closed
@pcwalton

Description

@pcwalton

The LLVM verifier is the second slowest pass after LiveIRVariables (2.4%/2.085 s). It's unnecessary and rarely catches stuff that the assertions don't. We should only run it in debug rustc builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-compiletimeIssue: Problems and improvements with respect to compile times.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions