Commit 02e0d50
committed
[SVE] Remove AArch64ISD::ADD_PRED and AArch64ISD::SUB_PRED.
These nodes provide an indirection that is not necessary because
SVE has unpredicated add/sub instructions and there's no downside
to using them for partial register operations. In fact, the test
changes show that unifying how fixed-length and scalable vector
add/sub are lowered enables better use of existing isel patterns.
Differential Revision: https://reviews.llvm.org/D1193551 parent 039a88b commit 02e0d50
16 files changed
Lines changed: 265 additions & 338 deletions
File tree
- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1996 | 1996 | | |
1997 | 1997 | | |
1998 | 1998 | | |
1999 | | - | |
2000 | 1999 | | |
2001 | 2000 | | |
2002 | 2001 | | |
| |||
2006 | 2005 | | |
2007 | 2006 | | |
2008 | 2007 | | |
2009 | | - | |
2010 | 2008 | | |
2011 | 2009 | | |
2012 | 2010 | | |
| |||
5240 | 5238 | | |
5241 | 5239 | | |
5242 | 5240 | | |
5243 | | - | |
5244 | 5241 | | |
5245 | | - | |
5246 | 5242 | | |
5247 | | - | |
| 5243 | + | |
5248 | 5244 | | |
5249 | 5245 | | |
5250 | 5246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
| |||
98 | 97 | | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
| |||
328 | 326 | | |
329 | 327 | | |
330 | 328 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 329 | | |
335 | 330 | | |
336 | 331 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | | - | |
53 | 50 | | |
54 | | - | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
69 | | - | |
70 | 66 | | |
71 | | - | |
| 67 | + | |
72 | 68 | | |
73 | 69 | | |
74 | 70 | | |
| |||
719 | 715 | | |
720 | 716 | | |
721 | 717 | | |
722 | | - | |
723 | 718 | | |
724 | | - | |
| 719 | + | |
725 | 720 | | |
726 | 721 | | |
727 | 722 | | |
| |||
736 | 731 | | |
737 | 732 | | |
738 | 733 | | |
739 | | - | |
740 | 734 | | |
741 | | - | |
| 735 | + | |
742 | 736 | | |
743 | 737 | | |
744 | 738 | | |
| |||
753 | 747 | | |
754 | 748 | | |
755 | 749 | | |
756 | | - | |
757 | 750 | | |
758 | | - | |
| 751 | + | |
759 | 752 | | |
760 | 753 | | |
761 | 754 | | |
| |||
770 | 763 | | |
771 | 764 | | |
772 | 765 | | |
773 | | - | |
774 | 766 | | |
775 | | - | |
| 767 | + | |
776 | 768 | | |
777 | 769 | | |
778 | 770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments