Commit d218011
authored
[LoongArch] Optimize inserting extracted elements (llvm#146018)
1 parent 2194bca commit d218011
File tree
7 files changed
+144
-118
lines changed- llvm
- lib/Target/LoongArch
- test/CodeGen/LoongArch
- lasx/ir-instruction
- lsx/ir-instruction
7 files changed
+144
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2597 | 2597 | | |
2598 | 2598 | | |
2599 | 2599 | | |
2600 | | - | |
2601 | 2600 | | |
2602 | 2601 | | |
2603 | | - | |
2604 | | - | |
2605 | | - | |
| 2602 | + | |
2606 | 2603 | | |
2607 | 2604 | | |
2608 | 2605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1282 | 1282 | | |
1283 | 1283 | | |
1284 | 1284 | | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1285 | 1311 | | |
1286 | 1312 | | |
1287 | 1313 | | |
| |||
1582 | 1608 | | |
1583 | 1609 | | |
1584 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1585 | 1643 | | |
1586 | 1644 | | |
1587 | 1645 | | |
| |||
1593 | 1651 | | |
1594 | 1652 | | |
1595 | 1653 | | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
1601 | 1662 | | |
1602 | 1663 | | |
1603 | 1664 | | |
| |||
1791 | 1852 | | |
1792 | 1853 | | |
1793 | 1854 | | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
1794 | 1867 | | |
1795 | 1868 | | |
1796 | 1869 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1485 | 1507 | | |
1486 | 1508 | | |
1487 | 1509 | | |
| |||
1782 | 1804 | | |
1783 | 1805 | | |
1784 | 1806 | | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
1785 | 1832 | | |
1786 | 1833 | | |
1787 | 1834 | | |
| |||
1791 | 1838 | | |
1792 | 1839 | | |
1793 | 1840 | | |
1794 | | - | |
1795 | 1841 | | |
1796 | 1842 | | |
1797 | 1843 | | |
| |||
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 10 | | |
15 | | - | |
| 11 | + | |
16 | 12 | | |
17 | 13 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 14 | | |
23 | | - | |
| 15 | + | |
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
| |||
Lines changed: 4 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
| 8 | + | |
14 | 9 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 10 | | |
20 | 11 | | |
21 | 12 | | |
| |||
26 | 17 | | |
27 | 18 | | |
28 | 19 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 20 | + | |
| 21 | + | |
36 | 22 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 23 | | |
42 | 24 | | |
43 | 25 | | |
| |||
61 | 43 | | |
62 | 44 | | |
63 | 45 | | |
64 | | - | |
65 | | - | |
66 | 46 | | |
67 | 47 | | |
68 | 48 | | |
| |||
87 | 67 | | |
88 | 68 | | |
89 | 69 | | |
90 | | - | |
91 | | - | |
92 | 70 | | |
93 | 71 | | |
94 | 72 | | |
| |||
Lines changed: 6 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 7 | + | |
24 | 8 | | |
25 | 9 | | |
26 | 10 | | |
| |||
33 | 17 | | |
34 | 18 | | |
35 | 19 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 20 | + | |
53 | 21 | | |
54 | 22 | | |
55 | 23 | | |
| |||
62 | 30 | | |
63 | 31 | | |
64 | 32 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 33 | + | |
69 | 34 | | |
70 | 35 | | |
71 | 36 | | |
| |||
78 | 43 | | |
79 | 44 | | |
80 | 45 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 46 | + | |
89 | 47 | | |
90 | 48 | | |
91 | 49 | | |
| |||
98 | 56 | | |
99 | 57 | | |
100 | 58 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 59 | + | |
105 | 60 | | |
106 | 61 | | |
107 | 62 | | |
| |||
114 | 69 | | |
115 | 70 | | |
116 | 71 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 72 | + | |
125 | 73 | | |
126 | 74 | | |
127 | 75 | | |
| |||
0 commit comments