Commit 26df370
committed
[LoopVectorizer][AArch64] Add support for partial reduce subtraction
Instead of implementing a new intrinsic for subtracting partial
reductions, generate a negation instruction for the second operand
of the partial reduction.1 parent 8353aa2 commit 26df370
File tree
6 files changed
+198
-61
lines changed- llvm
- lib
- Target/AArch64
- Transforms/Vectorize
- test/Transforms/LoopVectorize/AArch64
6 files changed
+198
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4673 | 4673 | | |
4674 | 4674 | | |
4675 | 4675 | | |
4676 | | - | |
| 4676 | + | |
4677 | 4677 | | |
4678 | 4678 | | |
4679 | 4679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8697 | 8697 | | |
8698 | 8698 | | |
8699 | 8699 | | |
8700 | | - | |
| 8700 | + | |
8701 | 8701 | | |
| 8702 | + | |
8702 | 8703 | | |
8703 | 8704 | | |
8704 | 8705 | | |
| |||
8761 | 8762 | | |
8762 | 8763 | | |
8763 | 8764 | | |
| 8765 | + | |
| 8766 | + | |
| 8767 | + | |
8764 | 8768 | | |
8765 | | - | |
8766 | | - | |
| 8769 | + | |
| 8770 | + | |
8767 | 8771 | | |
8768 | 8772 | | |
8769 | | - | |
8770 | | - | |
| 8773 | + | |
| 8774 | + | |
8771 | 8775 | | |
8772 | 8776 | | |
8773 | 8777 | | |
8774 | 8778 | | |
8775 | 8779 | | |
8776 | 8780 | | |
8777 | | - | |
| 8781 | + | |
8778 | 8782 | | |
8779 | 8783 | | |
8780 | 8784 | | |
| |||
8785 | 8789 | | |
8786 | 8790 | | |
8787 | 8791 | | |
8788 | | - | |
| 8792 | + | |
8789 | 8793 | | |
8790 | 8794 | | |
8791 | 8795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
285 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
286 | 300 | | |
287 | 301 | | |
288 | 302 | | |
| |||
318 | 332 | | |
319 | 333 | | |
320 | 334 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 335 | | |
325 | 336 | | |
326 | 337 | | |
327 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
328 | 349 | | |
329 | 350 | | |
330 | 351 | | |
| |||
0 commit comments