Clean-up VN for promoted fields assigned using the whole parent. #41242
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
This is a follow-up for #37745 (comment) and #41197 (review).
Review all the places where we use
lvaInSsa
, find where we need to check forCanBeReplacedWithItsField
;Use
optIsSsaLocal
instead ofCanBeReplacedWithItsField
in all phases, maybe move it toLclVarDsc
or just rename;Rename
optIsSsaLocal
tooptGetSsaLocal
([release/5.0] Fix wrong copy prop afterASG(promoted LCL_VAR with 1 field, call)
. #41243 (comment))Design how to extend it for multiregs and multifields
LclVars
.category:implementation
theme:value-numbering
skill-level:expert
cost:medium
The text was updated successfully, but these errors were encountered: