Commit f20619c
authored
[RISCV] More explicitly check that combineOp_VLToVWOp_VL removes the extends it is supposed to. (llvm#166710)
If we visit multiple root nodes, make sure the strategy chosen
for other nodes includes the nodes we've already committed to remove.
This can occur if have add/sub nodes where one operand is a zext
and the other is a sext. We might see that the nodes share a common
extension but pick a strategy that doesn't share it.1 parent 52e8f3c commit f20619c
File tree
2 files changed
+32
-20
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+32
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17867 | 17867 | | |
17868 | 17868 | | |
17869 | 17869 | | |
| 17870 | + | |
17870 | 17871 | | |
17871 | 17872 | | |
17872 | 17873 | | |
| |||
17876 | 17877 | | |
17877 | 17878 | | |
17878 | 17879 | | |
17879 | | - | |
17880 | | - | |
17881 | | - | |
17882 | | - | |
17883 | | - | |
17884 | | - | |
17885 | | - | |
17886 | | - | |
17887 | | - | |
17888 | | - | |
17889 | | - | |
17890 | | - | |
17891 | | - | |
17892 | | - | |
17893 | | - | |
17894 | | - | |
| 17880 | + | |
| 17881 | + | |
| 17882 | + | |
| 17883 | + | |
| 17884 | + | |
| 17885 | + | |
| 17886 | + | |
| 17887 | + | |
| 17888 | + | |
| 17889 | + | |
| 17890 | + | |
| 17891 | + | |
| 17892 | + | |
| 17893 | + | |
| 17894 | + | |
| 17895 | + | |
| 17896 | + | |
| 17897 | + | |
| 17898 | + | |
17895 | 17899 | | |
17896 | 17900 | | |
17897 | 17901 | | |
| |||
17912 | 17916 | | |
17913 | 17917 | | |
17914 | 17918 | | |
| 17919 | + | |
| 17920 | + | |
| 17921 | + | |
| 17922 | + | |
| 17923 | + | |
| 17924 | + | |
| 17925 | + | |
| 17926 | + | |
| 17927 | + | |
17915 | 17928 | | |
17916 | 17929 | | |
17917 | 17930 | | |
| |||
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
599 | 598 | | |
600 | | - | |
601 | | - | |
| 599 | + | |
| 600 | + | |
602 | 601 | | |
603 | | - | |
| 602 | + | |
604 | 603 | | |
605 | 604 | | |
606 | 605 | | |
| |||
0 commit comments