Commit 620c383
authored
[mlir][nfc] De-duplicate tests from
This PR makes sure that we always use `Type::isIntOrFloat` rather than
re-implementing this condition inline. Also, it removes `isScalarType`
that effectively re-implemented this method.Type::isIntOrFloat (llvm#129710)1 parent d61d219 commit 620c383
File tree
2 files changed
+5
-10
lines changed- mlir/lib
- Interfaces
- Target/LLVMIR
2 files changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | 762 | | |
768 | 763 | | |
769 | 764 | | |
| |||
781 | 776 | | |
782 | 777 | | |
783 | 778 | | |
784 | | - | |
| 779 | + | |
785 | 780 | | |
786 | 781 | | |
787 | 782 | | |
| |||
794 | 789 | | |
795 | 790 | | |
796 | 791 | | |
797 | | - | |
| 792 | + | |
798 | 793 | | |
799 | 794 | | |
800 | 795 | | |
| |||
808 | 803 | | |
809 | 804 | | |
810 | 805 | | |
811 | | - | |
| 806 | + | |
812 | 807 | | |
813 | 808 | | |
814 | 809 | | |
| |||
0 commit comments