Commit 67d71bb
authored
[CIR][CIRGen][Builtin][Neon] Lower neon_vaddv_f32, neon_vaddvq_f32 and neon_vaddvq_f64 (#1238)
[Neon intrinsic
definition](https://developer.arm.com/architectures/instruction-sets/intrinsics/vaddv_f32).
They are vector across operation which LLVM doesn't currently have a
generic intrinsic about it. As a side note for brainstorm, it might be
worth in the future for CIR to introduce Vector Across type operations
even though LLVM dialect doesn't have it yet. This would help to expose
opt opportunities.
E.g. a very trivial constant fold can happen if we are adding across a
constant vector.1 parent d3193f8 commit 67d71bb
File tree
2 files changed
+36
-22
lines changed- clang
- lib/CIR/CodeGen
- test/CIR/CodeGen/AArch64
2 files changed
+36
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
2681 | | - | |
2682 | | - | |
2683 | 2681 | | |
2684 | 2682 | | |
2685 | 2683 | | |
2686 | 2684 | | |
| 2685 | + | |
2687 | 2686 | | |
2688 | | - | |
2689 | 2687 | | |
2690 | | - | |
| 2688 | + | |
| 2689 | + | |
2691 | 2690 | | |
2692 | 2691 | | |
2693 | 2692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18383 | 18383 | | |
18384 | 18384 | | |
18385 | 18385 | | |
18386 | | - | |
18387 | | - | |
18388 | | - | |
18389 | | - | |
18390 | | - | |
18391 | | - | |
| 18386 | + | |
| 18387 | + | |
18392 | 18388 | | |
18393 | | - | |
18394 | | - | |
18395 | | - | |
18396 | | - | |
18397 | | - | |
18398 | | - | |
| 18389 | + | |
| 18390 | + | |
18399 | 18391 | | |
18400 | | - | |
18401 | | - | |
18402 | | - | |
18403 | | - | |
18404 | | - | |
18405 | | - | |
| 18392 | + | |
| 18393 | + | |
| 18394 | + | |
| 18395 | + | |
| 18396 | + | |
| 18397 | + | |
| 18398 | + | |
| 18399 | + | |
| 18400 | + | |
| 18401 | + | |
| 18402 | + | |
| 18403 | + | |
| 18404 | + | |
| 18405 | + | |
| 18406 | + | |
| 18407 | + | |
| 18408 | + | |
| 18409 | + | |
| 18410 | + | |
| 18411 | + | |
| 18412 | + | |
| 18413 | + | |
| 18414 | + | |
| 18415 | + | |
| 18416 | + | |
| 18417 | + | |
| 18418 | + | |
| 18419 | + | |
| 18420 | + | |
18406 | 18421 | | |
18407 | 18422 | | |
18408 | 18423 | | |
| |||
0 commit comments