Skip to content

Commit 3be9089

Browse files
authored
JIT: revisions to struct field escape analysis (#116124)
* JIT: revisions to struct field escape analysis Peel off some changes from the more general field-wise escape analysis: * make sure we have modelled all relevant stores. Change local store tracking to use the new model. * keep track of which temps will represent stack allocated arrays and do suitable retyping * reject "known escaping" allocations earlier (eg finalizable objects) * handle local fields (rare but can exist in importer IR) * add the field test cases; all of these stack allocate for now * keep retyping layouts after first indir; add test
1 parent 50bf168 commit 3be9089

File tree

7 files changed

+846
-38
lines changed

7 files changed

+846
-38
lines changed

src/coreclr/jit/gentree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ enum GenTreeFlags : unsigned int
450450
GTF_VAR_MOREUSES = 0x00800000, // GT_LCL_VAR -- this node has additional uses, for example due to cloning
451451
GTF_VAR_CONTEXT = 0x00400000, // GT_LCL_VAR -- this node is part of a runtime lookup
452452
GTF_VAR_EXPLICIT_INIT = 0x00200000, // GT_LCL_VAR -- this node is an "explicit init" store. Valid until rationalization.
453-
GTF_VAR_CONNECTED = 0x00100000, // GT_STORE_LCL_VAR -- this store was modelled in the connection graph during escape analysis
454453

455454
// For additional flags for GT_CALL node see GTF_CALL_M_*
456455

0 commit comments

Comments
 (0)