Closed
Description
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