dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.95k stars 4.65k forks source link

R2R codegen issue #64910

Open EgorBo opened 2 years ago

EgorBo commented 2 years ago

image

I've not investigated this one yet, it's expected to be inlined and emit the same as JIT does:

image

From a quick test it seems the issue is gone if I use -inputbubble -compilebubblegenerics

category:correctness theme:ready-to-run skill-level:intermediate cost:medium impact:small

ghost commented 2 years ago

Tagging subscribers to this area: @JulieLeeMSFT See info in area-owners.md if you want to be subscribed.

Issue Details
![image](https://user-images.githubusercontent.com/523221/152824608-2736065e-9701-4c6f-83fe-56c8972c8574.png) I've not investigated this one yet, it's expected to be inlined and emit the same as JIT does: ![image](https://user-images.githubusercontent.com/523221/152824891-7b146dcf-b5f0-4fb4-8322-b9060e555939.png) From a quick test it seems the issue is gone if I use `-inputbubble -compilebubblegenerics`
Author: EgorBo
Assignees: -
Labels: `tenet-performance`, `area-CodeGen-coreclr`, `untriaged`
Milestone: -
EgorBo commented 2 years ago

Perhaps it needs [NonVersionable] ?