Commit 588af0f
Legalize AArch64 Select stack inputs in target selection
Summary: Move the AArch64 stack-input legalization for `Select` out of the post-generation fixed-point rewrite pass and into target selection. This preserves the existing behavior of lowering all stack-backed `Select` inputs through virtual registers while leaving the immediate `Select` legalization in postgen, where generated `Move(Imm)` instructions can still participate in later postgen rewrites.
Reviewed By: alexmalyshev
Differential Revision: D109608870
fbshipit-source-id: f06d6c4be7f4a55479aadc5d0d529f3f63689d4a1 parent dd01791 commit 588af0f
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
| |||
570 | 571 | | |
571 | 572 | | |
572 | 573 | | |
573 | | - | |
574 | | - | |
575 | 574 | | |
576 | 575 | | |
577 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
| |||
558 | 570 | | |
559 | 571 | | |
560 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
561 | 576 | | |
562 | 577 | | |
563 | 578 | | |
| |||
0 commit comments