Skip to content

[llvm-mca][x86] Teach how to identify optimizable register-register moves and zero-idioms. #36019

Closed
@adibiagio

Description

@adibiagio
Bugzilla Link 36671
Resolution FIXED
Resolved on Sep 25, 2020 11:01
Version trunk
OS All
Depends On #36073
CC @adibiagio,@legrosbuffle,@LebedevRI,@RKSimon,@rotateright

Extended Description

This is currently marked as x86. However, it may apply to other targets other than x86.

Most modern Intel/AMD processors know how to eliminate register-register moves and zero idioms at register renaming stage. The tool currently doesn't know about these patterns, and this may negatively impact the performance analysis.

We want to expose this information to llvm-mca. Ideally, the tool should have a View to generate performance counters for the:

  • number of register moves eliminated
  • number of zero idioms eliminated

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions