Commit 7d97678
committed
[mlir][linalg] Break up linalg vectorization pre-condition
Break up the vectorization pre-condition into the part checking for
static shape and the rest checking if the linalg op is supported by
vectorization. This allows checking if an op could be vectorized if it
had static shapes.
Differential Revision: https://reviews.llvm.org/D1157541 parent 9c7fbc3 commit 7d97678
File tree
2 files changed
+22
-11
lines changed- mlir
- include/mlir/Dialect/Linalg/Transforms
- lib/Dialect/Linalg/Transforms
2 files changed
+22
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
407 | 413 | | |
408 | 414 | | |
409 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
| 602 | + | |
| 603 | + | |
609 | 604 | | |
610 | 605 | | |
611 | 606 | | |
612 | 607 | | |
613 | 608 | | |
614 | | - | |
| 609 | + | |
615 | 610 | | |
616 | 611 | | |
617 | 612 | | |
618 | 613 | | |
619 | | - | |
| 614 | + | |
620 | 615 | | |
621 | 616 | | |
622 | 617 | | |
623 | | - | |
| 618 | + | |
624 | 619 | | |
625 | 620 | | |
626 | 621 | | |
627 | 622 | | |
628 | 623 | | |
629 | 624 | | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
630 | 635 | | |
631 | 636 | | |
632 | 637 | | |
| |||
0 commit comments