Commit 4482dda
committed
[RISCV] Move more stuff to RISCVInstrInfoZvfbf.td. Fix incorrect Predicates.
The PseudoVFWCVTBF16_F_F and PseudoVFNCVTBF16_F_F pseudos should
only have Zvfbfmin as their Predicate, they are not used by Zvfofp8min
which requires different Pseudos with different SEW.
The patterns had an outer Predicates saying ZvfbfminOrZvfofp8min and
inner Predicate saying HasVInstructionsMinimal||HasVInstructionsF32.
I believe the outer Predicates overrides the inner Predicates.
The correct predicate for the patterns is Zvfbfmin. They aren't
used by Zvfofp8min and HasVInstructionsMinimal is going to be
changed to Zvbfmin||Zvfbfa, but these instructions are Zvfbfmin only.1 parent 5073733 commit 4482dda
File tree
3 files changed
+39
-43
lines changed- llvm/lib/Target/RISCV
3 files changed
+39
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
698 | 701 | | |
699 | 702 | | |
700 | 703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5862 | 5862 | | |
5863 | 5863 | | |
5864 | 5864 | | |
5865 | | - | |
5866 | | - | |
5867 | | - | |
5868 | | - | |
5869 | | - | |
5870 | | - | |
5871 | | - | |
5872 | | - | |
5873 | | - | |
5874 | | - | |
5875 | | - | |
5876 | | - | |
5877 | | - | |
5878 | | - | |
5879 | 5865 | | |
5880 | 5866 | | |
5881 | 5867 | | |
| |||
5969 | 5955 | | |
5970 | 5956 | | |
5971 | 5957 | | |
5972 | | - | |
5973 | | - | |
5974 | | - | |
5975 | | - | |
5976 | | - | |
5977 | | - | |
5978 | | - | |
5979 | | - | |
5980 | | - | |
5981 | | - | |
5982 | | - | |
5983 | | - | |
5984 | | - | |
5985 | | - | |
5986 | 5958 | | |
5987 | 5959 | | |
5988 | 5960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
51 | 75 | | |
52 | 76 | | |
53 | 77 | | |
| |||
56 | 80 | | |
57 | 81 | | |
58 | 82 | | |
59 | | - | |
60 | 83 | | |
61 | 84 | | |
62 | 85 | | |
| |||
66 | 89 | | |
67 | 90 | | |
68 | 91 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
81 | 102 | | |
82 | 103 | | |
83 | 104 | | |
| |||
0 commit comments