Commit b1551d4
committed
[6.0] [loadable by address reg2mem] Implement missing throw instruction
Description: Fixes a missing case to large types reg2mem. Without adding
this case asserts compiler will complain and cause the compiler to
crash.
Risk: Low. This is the same code that we would have generated with an no-asserts
compiler where we fallback to a solution that loads and stores back to memory.
Scope: Fixes a compiler crasher in asserts toolchains.
Testing: Regression test added.
rdar://134914984
(cherry picked from commit eeaf962)1 parent 94322e1 commit b1551d4
File tree
2 files changed
+17
-0
lines changed- lib/IRGen
- test/IRGen
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3861 | 3861 | | |
3862 | 3862 | | |
3863 | 3863 | | |
| 3864 | + | |
| 3865 | + | |
| 3866 | + | |
| 3867 | + | |
3864 | 3868 | | |
3865 | 3869 | | |
3866 | 3870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
0 commit comments