Commit 671d42c
authored
JIT: Fix invalid zero-init suppression for untracked variables (#91580)
optRemoveRedundantZeroInits has logic to remove unnecessary zero inits
if we can determine that the local will be zeroed in the prolog. In
addition, it also has logic to suppress the prolog zero init if there is
a dominating initialization already. The latter logic was trying to
reason about liveness for untracked locals, which does not make sense.
Fix #915761 parent 9f138e0 commit 671d42c
File tree
3 files changed
+67
-8
lines changed- src
- coreclr/jit
- tests/JIT/Regression/JitBlue/Runtime_91576
3 files changed
+67
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9044 | 9044 | | |
9045 | 9045 | | |
9046 | 9046 | | |
9047 | | - | |
9048 | | - | |
9049 | | - | |
| 9047 | + | |
| 9048 | + | |
| 9049 | + | |
9050 | 9050 | | |
9051 | 9051 | | |
9052 | 9052 | | |
| |||
9057 | 9057 | | |
9058 | 9058 | | |
9059 | 9059 | | |
| 9060 | + | |
| 9061 | + | |
9060 | 9062 | | |
9061 | 9063 | | |
9062 | 9064 | | |
| |||
9067 | 9069 | | |
9068 | 9070 | | |
9069 | 9071 | | |
9070 | | - | |
9071 | | - | |
9072 | | - | |
9073 | | - | |
| 9072 | + | |
9074 | 9073 | | |
9075 | 9074 | | |
9076 | 9075 | | |
| |||
9216 | 9215 | | |
9217 | 9216 | | |
9218 | 9217 | | |
9219 | | - | |
| 9218 | + | |
| 9219 | + | |
9220 | 9220 | | |
9221 | 9221 | | |
9222 | 9222 | | |
| |||
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments