Skip to content

Should recent Apple CPUs use the new model instead of CycloneModel? #98729

@dianqk

Description

@dianqk

We recently discovered a performance issue with the apple m1 series in rust-lang/rust#126937 (comment). I believe this is due to EarlyIfConversion using an outdated mispredict penalty. The mispredict penalty from apple-a7 to apple-m4 uses CycloneModel's definition of 16, which I assume is an outdated value?

cc @fhahn @TNorthover

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:AArch64questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions