Commit e4d5716
committed
[mlir][tosa] Allow unsigned types for rescale ops during validation
This commit allows unsigned types (ui8/ui16/ui32) when checking
for valid element types, only for rescale operators.
Signed-off-by: Luke Hutton <[email protected]>
Change-Id: I0525c5a5542e20e832d1bf150635be7423d3799a1 parent 5528770 commit e4d5716
File tree
2 files changed
+41
-6
lines changed- mlir
- lib/Dialect/Tosa/Transforms
- test/Dialect/Tosa
2 files changed
+41
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1194 | 1201 | | |
1195 | 1202 | | |
1196 | 1203 | | |
| |||
1209 | 1216 | | |
1210 | 1217 | | |
1211 | 1218 | | |
1212 | | - | |
1213 | | - | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1214 | 1225 | | |
1215 | 1226 | | |
1216 | | - | |
| 1227 | + | |
1217 | 1228 | | |
1218 | 1229 | | |
1219 | 1230 | | |
1220 | 1231 | | |
1221 | 1232 | | |
1222 | 1233 | | |
1223 | 1234 | | |
1224 | | - | |
| 1235 | + | |
1225 | 1236 | | |
1226 | 1237 | | |
1227 | 1238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
0 commit comments