This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Commit 1c28080
authored
Re-morph lclVar nodes after simplifying (ind (addr (lclVar))). (#11531)
Morph simplifies (ind (addr (lclVar))) if the type of the load matches
the type of the lclVar node. This simplification is not valid, however,
if the lclVar must be normalized upon load: in that case, the lclVar
node must be normalized appropriately as part of the transformation.
This change fixes the simplification to perform this normalization if
necessary by calling `fgMorphLclVar` on the result if the result is a
lclVar node.
Fixes issue #11508.1 parent 6fb6d4f commit 1c28080
File tree
4 files changed
+117
-4
lines changed- src/jit
- tests/src/JIT/Regression/JitBlue/GitHub_11508
4 files changed
+117
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4719 | 4719 | | |
4720 | 4720 | | |
4721 | 4721 | | |
4722 | | - | |
| 4722 | + | |
4723 | 4723 | | |
4724 | 4724 | | |
4725 | 4725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6099 | 6099 | | |
6100 | 6100 | | |
6101 | 6101 | | |
6102 | | - | |
| 6102 | + | |
6103 | 6103 | | |
6104 | 6104 | | |
6105 | 6105 | | |
| |||
6129 | 6129 | | |
6130 | 6130 | | |
6131 | 6131 | | |
6132 | | - | |
| 6132 | + | |
6133 | 6133 | | |
6134 | 6134 | | |
6135 | 6135 | | |
| |||
8523 | 8523 | | |
8524 | 8524 | | |
8525 | 8525 | | |
8526 | | - | |
| 8526 | + | |
| 8527 | + | |
8527 | 8528 | | |
8528 | 8529 | | |
8529 | 8530 | | |
| |||
13196 | 13197 | | |
13197 | 13198 | | |
13198 | 13199 | | |
| 13200 | + | |
| 13201 | + | |
| 13202 | + | |
| 13203 | + | |
| 13204 | + | |
| 13205 | + | |
| 13206 | + | |
| 13207 | + | |
| 13208 | + | |
| 13209 | + | |
| 13210 | + | |
| 13211 | + | |
| 13212 | + | |
| 13213 | + | |
| 13214 | + | |
| 13215 | + | |
| 13216 | + | |
| 13217 | + | |
| 13218 | + | |
13199 | 13219 | | |
13200 | 13220 | | |
13201 | 13221 | | |
| |||
Lines changed: 56 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 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
Lines changed: 37 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 | + | |
0 commit comments