Skip to content

Invoke instructions kick us off the FastISel path #3551

Closed
@pcwalton

Description

@pcwalton

We are never on the fast instruction selection path in LLVM because we're using Invoke instructions everywhere. Thus we pay the cost of full optimized SelectionDAG invocation at all optimization levels in rustc.

The solution is to stop using C++ exceptions for unwinding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.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