Commit 11693d3
committed
[RISCV] Support disjoint RISCVISD::OR_VL in combineOp_VLToVWOp_VL
This handles combining fixed-length disjoint ors to vwadd[u].wv, as was done for scalable vectors in llvm#86929.
vwadd[u].vv patterns need to be handled separately with a pattern in a separate patch due to the extends being sunk, see llvm#136716.1 parent 1a99f79 commit 11693d3
File tree
2 files changed
+16
-12
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16002 | 16002 | | |
16003 | 16003 | | |
16004 | 16004 | | |
| 16005 | + | |
16005 | 16006 | | |
16006 | 16007 | | |
16007 | 16008 | | |
| |||
16025 | 16026 | | |
16026 | 16027 | | |
16027 | 16028 | | |
| 16029 | + | |
16028 | 16030 | | |
16029 | 16031 | | |
16030 | 16032 | | |
| |||
16082 | 16084 | | |
16083 | 16085 | | |
16084 | 16086 | | |
| 16087 | + | |
16085 | 16088 | | |
16086 | 16089 | | |
16087 | 16090 | | |
| |||
16272 | 16275 | | |
16273 | 16276 | | |
16274 | 16277 | | |
| 16278 | + | |
| 16279 | + | |
16275 | 16280 | | |
16276 | 16281 | | |
16277 | 16282 | | |
| |||
16357 | 16362 | | |
16358 | 16363 | | |
16359 | 16364 | | |
| 16365 | + | |
16360 | 16366 | | |
16361 | 16367 | | |
16362 | 16368 | | |
| |||
16573 | 16579 | | |
16574 | 16580 | | |
16575 | 16581 | | |
| 16582 | + | |
16576 | 16583 | | |
16577 | 16584 | | |
16578 | 16585 | | |
| |||
16623 | 16630 | | |
16624 | 16631 | | |
16625 | 16632 | | |
16626 | | - | |
| 16633 | + | |
16627 | 16634 | | |
16628 | 16635 | | |
16629 | 16636 | | |
| |||
19459 | 19466 | | |
19460 | 19467 | | |
19461 | 19468 | | |
| 19469 | + | |
19462 | 19470 | | |
19463 | 19471 | | |
19464 | 19472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
891 | 889 | | |
892 | 890 | | |
893 | 891 | | |
| |||
960 | 958 | | |
961 | 959 | | |
962 | 960 | | |
963 | | - | |
964 | | - | |
965 | | - | |
| 961 | + | |
| 962 | + | |
966 | 963 | | |
967 | 964 | | |
968 | 965 | | |
| |||
972 | 969 | | |
973 | 970 | | |
974 | 971 | | |
975 | | - | |
976 | | - | |
977 | | - | |
| 972 | + | |
| 973 | + | |
978 | 974 | | |
979 | 975 | | |
980 | 976 | | |
| |||
0 commit comments