Commit 4c9da4f
committed
[LLVM][SVE] Add isel for bfloat based constant splats.
There are no dedicated bfloat MOV instructions but we can use the
half variants when the encoing allows (e.g. f16(1.875) == bf16(1.0)).1 parent 05bf293 commit 4c9da4f
File tree
2 files changed
+10
-6
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
934 | 941 | | |
935 | 942 | | |
936 | 943 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
490 | | - | |
| 489 | + | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
| |||
496 | 495 | | |
497 | 496 | | |
498 | 497 | | |
499 | | - | |
500 | | - | |
| 498 | + | |
501 | 499 | | |
502 | 500 | | |
503 | 501 | | |
| |||
506 | 504 | | |
507 | 505 | | |
508 | 506 | | |
509 | | - | |
510 | | - | |
| 507 | + | |
511 | 508 | | |
512 | 509 | | |
513 | 510 | | |
| |||
0 commit comments