Commit c3a63fc
authored
Only emit incoming values for the phi when needed (#37285)
Fixes a crash when one of the incoming value for a union value phi node is of type `Union{}`.
Incoming value of this type can be generated by try-catch.
Fix #372651 parent f896006 commit c3a63fc
2 files changed
Lines changed: 44 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6836 | 6836 | | |
6837 | 6837 | | |
6838 | 6838 | | |
6839 | | - | |
| 6839 | + | |
| 6840 | + | |
| 6841 | + | |
| 6842 | + | |
6840 | 6843 | | |
6841 | | - | |
| 6844 | + | |
| 6845 | + | |
6842 | 6846 | | |
6843 | 6847 | | |
6844 | 6848 | | |
6845 | 6849 | | |
6846 | 6850 | | |
6847 | | - | |
| 6851 | + | |
| 6852 | + | |
6848 | 6853 | | |
6849 | 6854 | | |
6850 | 6855 | | |
6851 | | - | |
| 6856 | + | |
| 6857 | + | |
6852 | 6858 | | |
6853 | 6859 | | |
6854 | 6860 | | |
| |||
6868 | 6874 | | |
6869 | 6875 | | |
6870 | 6876 | | |
6871 | | - | |
| 6877 | + | |
| 6878 | + | |
6872 | 6879 | | |
6873 | 6880 | | |
6874 | 6881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7288 | 7288 | | |
7289 | 7289 | | |
7290 | 7290 | | |
| 7291 | + | |
| 7292 | + | |
| 7293 | + | |
| 7294 | + | |
| 7295 | + | |
| 7296 | + | |
| 7297 | + | |
| 7298 | + | |
| 7299 | + | |
| 7300 | + | |
| 7301 | + | |
| 7302 | + | |
| 7303 | + | |
| 7304 | + | |
| 7305 | + | |
| 7306 | + | |
| 7307 | + | |
| 7308 | + | |
| 7309 | + | |
| 7310 | + | |
| 7311 | + | |
| 7312 | + | |
| 7313 | + | |
| 7314 | + | |
| 7315 | + | |
| 7316 | + | |
| 7317 | + | |
| 7318 | + | |
| 7319 | + | |
| 7320 | + | |
| 7321 | + | |
| 7322 | + | |
0 commit comments