Commit 4f07508
authored
[LLVM][VPlan] Keep all VPBlend masks until VPlan transformation. (#104015)
It's not possible to pick the best mask to remove when optimising
VPBlend at construction and so this patch refactors the code to move the
decision (and thus transformation) to VPlanTransforms.
NOTE: This patch does not change the decision of which mask to pick.
That will be done in a following PR to keep this patch as NFC from an
output point of view.1 parent 2644fe4 commit 4f07508
File tree
4 files changed
+55
-20
lines changed- llvm/lib/Transforms/Vectorize
4 files changed
+55
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8149 | 8149 | | |
8150 | 8150 | | |
8151 | 8151 | | |
8152 | | - | |
8153 | | - | |
8154 | 8152 | | |
8155 | 8153 | | |
8156 | 8154 | | |
| |||
8163 | 8161 | | |
8164 | 8162 | | |
8165 | 8163 | | |
8166 | | - | |
8167 | | - | |
8168 | 8164 | | |
8169 | 8165 | | |
8170 | 8166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
2044 | | - | |
2045 | | - | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
2046 | 2047 | | |
2047 | 2048 | | |
2048 | | - | |
2049 | | - | |
| 2049 | + | |
2050 | 2050 | | |
2051 | 2051 | | |
2052 | 2052 | | |
| |||
2056 | 2056 | | |
2057 | 2057 | | |
2058 | 2058 | | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
2062 | 2068 | | |
2063 | 2069 | | |
2064 | 2070 | | |
2065 | | - | |
| 2071 | + | |
2066 | 2072 | | |
2067 | 2073 | | |
2068 | 2074 | | |
2069 | 2075 | | |
2070 | | - | |
2071 | | - | |
| 2076 | + | |
| 2077 | + | |
2072 | 2078 | | |
2073 | 2079 | | |
2074 | 2080 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1703 | 1703 | | |
1704 | 1704 | | |
1705 | 1705 | | |
| 1706 | + | |
1706 | 1707 | | |
1707 | 1708 | | |
1708 | 1709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
898 | | - | |
| 898 | + | |
899 | 899 | | |
900 | | - | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
901 | 904 | | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
906 | 937 | | |
| 938 | + | |
907 | 939 | | |
908 | 940 | | |
909 | 941 | | |
| |||
0 commit comments