Skip to content

[LLVM][ARM] Wrong profiling information in llvm-mca for cortex-m52 #129660

Open
@shazha01

Description

@shazha01

llvm-mca already supports Cortex-M52 target but provides Cortex-M55 information for Cortex-M52 when using llvm-mca-18/-19/-21 to profile assembly code, such as "Instruction Info", unit "Resources"...
llvm-mca -mtriple=arm-none-eabi -mcpu=cortex-m52 <func>.s

Image

And the confusing code can be found in llvm/lib/Target/ARM/ARMProcessors.td
def : ProcessorModel<"cortex-m52", CortexM55Model,

I would like to know if it is a typo? Or will Cortex-M52 be completely supported in the next version?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:ARMllvm:codegenquestionA 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