Commit df96b56
authored
[RISCV] Move VMV0 elimination past machine SSA opts (#126850)
This is the follow up to #125026 that keeps mask operands in virtual
register form for as long as possible throughout the backend.
The diffs in this patch are from MachineCSE/MachineSink/RISCVVLOptimizer
kicking in.
The invariant that the mask COPY never has a subreg no longer holds
after MachineCSE (it coalesces some copies), so it needed to be relaxed.1 parent 58279d1 commit df96b56
File tree
36 files changed
+1217
-949
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV
- rvv
36 files changed
+1217
-949
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
594 | 592 | | |
595 | 593 | | |
596 | 594 | | |
| |||
604 | 602 | | |
605 | 603 | | |
606 | 604 | | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | 605 | | |
612 | 606 | | |
613 | 607 | | |
| |||
621 | 615 | | |
622 | 616 | | |
623 | 617 | | |
| 618 | + | |
| 619 | + | |
624 | 620 | | |
625 | 621 | | |
626 | 622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1518 | 1521 | | |
1519 | 1522 | | |
1520 | 1523 | | |
1521 | 1524 | | |
1522 | 1525 | | |
1523 | 1526 | | |
1524 | | - | |
1525 | | - | |
1526 | 1527 | | |
1527 | | - | |
1528 | | - | |
1529 | 1528 | | |
1530 | 1529 | | |
1531 | 1530 | | |
1532 | | - | |
1533 | 1531 | | |
1534 | 1532 | | |
1535 | 1533 | | |
1536 | 1534 | | |
1537 | 1535 | | |
1538 | 1536 | | |
1539 | | - | |
| 1537 | + | |
1540 | 1538 | | |
1541 | | - | |
| 1539 | + | |
1542 | 1540 | | |
1543 | 1541 | | |
1544 | 1542 | | |
1545 | | - | |
| 1543 | + | |
1546 | 1544 | | |
1547 | | - | |
| 1545 | + | |
1548 | 1546 | | |
1549 | | - | |
1550 | | - | |
1551 | | - | |
| 1547 | + | |
1552 | 1548 | | |
1553 | 1549 | | |
1554 | 1550 | | |
| |||
0 commit comments