Commit 3be9089
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 test1 parent 50bf168 commit 3be9089
File tree
7 files changed
+846
-38
lines changed- src
- coreclr/jit
- tests/JIT/opt/ObjectStackAllocation
7 files changed
+846
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
| |||
0 commit comments