Closed
Description
CORINFO_FLG_CUSTOMLAYOUT
flag on the JIT-EE interface has unclear semantics and it is likely disabling optimizations for no good reason in some cases. We should precisely define the semantics of this change and change the implementation to match. Depending on the definition, rename of the flag may be appropriate too.
- The flag is set for auto-layout structs. It should not be necessary. (See the original change Don't set CORINFO_FLG_CUSTOMLAYOUT for auto-layout structs #71673.)
- The flag is set for
TypedReference
.TypedReference
is ordinary struct with two fields. It should not be needed.
category:cq
theme:jit-ee-interface
skill-level:expert
cost:small
impact:small