Commit 04df359
authored
[mlir][vector] Simplify createReadOrMaskedRead (#163736)
Simplify `createReadOrMaskedRead` to only require _one_ argument to
specify the vector type to read (passed as `VectorType`) instead of
passing vector-sizes and scalable-flags independently (i.e. _two_
arguments).
A simple overload is provided for users that wouldn't re-use the
corresponding `VectorType` (and hence there's no point for them
to create). While there are no users upstream for this overload,
it's been helpful downstream.1 parent 2690f05 commit 04df359
File tree
3 files changed
+50
-29
lines changed- mlir
- include/mlir/Dialect/Vector/Utils
- lib/Dialect
- Linalg/Transforms
- Vector/Utils
3 files changed
+50
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 222 | + | |
| 223 | + | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1890 | 1890 | | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
| 1893 | + | |
| 1894 | + | |
1896 | 1895 | | |
1897 | 1896 | | |
1898 | 1897 | | |
| |||
1977 | 1976 | | |
1978 | 1977 | | |
1979 | 1978 | | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
1980 | 1982 | | |
1981 | | - | |
1982 | | - | |
| 1983 | + | |
| 1984 | + | |
1983 | 1985 | | |
1984 | 1986 | | |
1985 | 1987 | | |
| |||
2025 | 2027 | | |
2026 | 2028 | | |
2027 | 2029 | | |
| 2030 | + | |
2028 | 2031 | | |
2029 | | - | |
2030 | | - | |
| 2032 | + | |
| 2033 | + | |
2031 | 2034 | | |
2032 | 2035 | | |
2033 | 2036 | | |
| |||
2222 | 2225 | | |
2223 | 2226 | | |
2224 | 2227 | | |
2225 | | - | |
| 2228 | + | |
2226 | 2229 | | |
2227 | | - | |
| 2230 | + | |
2228 | 2231 | | |
2229 | 2232 | | |
2230 | 2233 | | |
| |||
3165 | 3168 | | |
3166 | 3169 | | |
3167 | 3170 | | |
3168 | | - | |
3169 | | - | |
3170 | | - | |
| 3171 | + | |
| 3172 | + | |
3171 | 3173 | | |
3172 | 3174 | | |
3173 | 3175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
326 | 340 | | |
327 | 341 | | |
328 | 342 | | |
329 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
330 | 348 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | 349 | | |
335 | 350 | | |
336 | 351 | | |
337 | | - | |
| 352 | + | |
338 | 353 | | |
339 | | - | |
| 354 | + | |
340 | 355 | | |
341 | 356 | | |
342 | 357 | | |
343 | 358 | | |
344 | | - | |
345 | | - | |
| 359 | + | |
| 360 | + | |
346 | 361 | | |
347 | 362 | | |
348 | 363 | | |
349 | 364 | | |
350 | | - | |
| 365 | + | |
351 | 366 | | |
352 | | - | |
| 367 | + | |
353 | 368 | | |
354 | 369 | | |
355 | 370 | | |
356 | | - | |
| 371 | + | |
| 372 | + | |
357 | 373 | | |
358 | 374 | | |
359 | 375 | | |
360 | 376 | | |
361 | 377 | | |
362 | 378 | | |
363 | | - | |
364 | | - | |
| 379 | + | |
365 | 380 | | |
366 | 381 | | |
367 | 382 | | |
| |||
0 commit comments