ArmArch codegen for empty / simple methods is not optimal #64912
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
untriaged
New issue has not been triaged by the area owner
The codegen for empty ctor on arm/arm64 is not as optimal when compared with x64. e.g. passing
--optimize
to CG2 compiles this code:for arm64 as:
and x64:
Similarly for arm, interestingly, which has relatively better codegen than arm64.
codegen:
C#: https://godbolt.org/z/zPhbecqab
C: https://godbolt.org/z/cPoa4ohPo
The text was updated successfully, but these errors were encountered: