Repository navigation
Commit 2a0dfd7
Remove async method inlining restrictions in crossgen2
Remove four restrictions that prevented async methods from being inlined
during ReadyToRun compilation:
1. CanInline() rejected IsAsyncThunk()/IsAsyncCall() callees
2. CrossModuleInlineableUncached() rejected async variants/thunks
3. reportInlining() threw when async methods were cross-module inlined
4. InliningInfoNode skipped recording inlining info for async thunks
All 69 async tests pass with both crossgen2 and composite R2R modes.
Fixes dotnet#124665
Co-authored-by: Copilot <[email protected]>1 parent c77d32c commit 2a0dfd7
4 files changed
Lines changed: 0 additions & 26 deletions
File tree
- src/coreclr/tools/aot/ILCompiler.ReadyToRun
- Compiler
- DependencyAnalysis/ReadyToRun
- JitInterface
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 112 | | |
119 | 113 | | |
120 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | 523 | | |
528 | 524 | | |
529 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3306 | 3306 | | |
3307 | 3307 | | |
3308 | 3308 | | |
3309 | | - | |
3310 | | - | |
3311 | | - | |
3312 | | - | |
3313 | | - | |
3314 | | - | |
3315 | | - | |
3316 | | - | |
3317 | | - | |
3318 | | - | |
3319 | | - | |
3320 | 3309 | | |
3321 | 3310 | | |
3322 | 3311 | | |
| |||
0 commit comments