Commit 017bede
committed
[Async CC] Never map returns to native explosions.
Previously, when lowering the entry point of an async function, the
returned values were lowered to explosions that matched those of sync
functions, namely native explosions. That is incorrect for async
functions where the structured values are within the async context.
Here, that error is fixed, by loading the values returned from the call
out of the async context passed in.
rdar://problem/716417931 parent 110dff5 commit 017bede
1 file changed
+1
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2390 | 2390 | | |
2391 | 2391 | | |
2392 | 2392 | | |
2393 | | - | |
2394 | | - | |
2395 | | - | |
2396 | | - | |
2397 | | - | |
2398 | | - | |
2399 | | - | |
2400 | | - | |
2401 | | - | |
2402 | | - | |
2403 | | - | |
2404 | | - | |
2405 | | - | |
2406 | | - | |
2407 | 2393 | | |
2408 | 2394 | | |
2409 | 2395 | | |
2410 | 2396 | | |
2411 | | - | |
| 2397 | + | |
2412 | 2398 | | |
2413 | | - | |
2414 | | - | |
2415 | 2399 | | |
2416 | 2400 | | |
2417 | 2401 | | |
| |||
0 commit comments