We currently expand delegate calls in lowering. There are potential CSE opportunities of the target instance and target address if we expand it in morph, similar to what we do for vtable calls.
@AndyAyersMS had a prototype for dotnet/coreclr here: https://github.com/AndyAyersMS/coreclr/tree/InlineDelegateInvoke
category:cq
theme:delegates
skill-level:expert
cost:medium
impact:medium
We currently expand delegate calls in lowering. There are potential CSE opportunities of the target instance and target address if we expand it in morph, similar to what we do for vtable calls.
@AndyAyersMS had a prototype for dotnet/coreclr here: https://github.com/AndyAyersMS/coreclr/tree/InlineDelegateInvoke
category:cq
theme:delegates
skill-level:expert
cost:medium
impact:medium