Commit 3a82883
committed
[SelectionDAG][X86] Widen <2 x T> vector types for atomic load
Vector types of 2 elements must be widened. This change does this
for vector types of atomic load in SelectionDAG
so that it can translate aligned vectors of >1 size. Also,
it combines the v2 type into its equivalent scalar type so as
to avoid a move to vector.
commit-id:2894ccd11 parent e1008c7 commit 3a82883
File tree
4 files changed
+159
-6
lines changed- llvm
- lib
- CodeGen/SelectionDAG
- Target/X86
- test/CodeGen/X86
4 files changed
+159
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| 1049 | + | |
1049 | 1050 | | |
1050 | 1051 | | |
1051 | 1052 | | |
| |||
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
1132 | | - | |
1133 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1134 | 1136 | | |
1135 | 1137 | | |
1136 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4515 | 4515 | | |
4516 | 4516 | | |
4517 | 4517 | | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
4518 | 4521 | | |
4519 | 4522 | | |
4520 | 4523 | | |
| |||
5901 | 5904 | | |
5902 | 5905 | | |
5903 | 5906 | | |
| 5907 | + | |
| 5908 | + | |
| 5909 | + | |
| 5910 | + | |
| 5911 | + | |
| 5912 | + | |
| 5913 | + | |
| 5914 | + | |
| 5915 | + | |
| 5916 | + | |
| 5917 | + | |
| 5918 | + | |
| 5919 | + | |
| 5920 | + | |
| 5921 | + | |
| 5922 | + | |
| 5923 | + | |
| 5924 | + | |
| 5925 | + | |
| 5926 | + | |
| 5927 | + | |
| 5928 | + | |
| 5929 | + | |
| 5930 | + | |
5904 | 5931 | | |
5905 | 5932 | | |
5906 | 5933 | | |
| |||
7699 | 7726 | | |
7700 | 7727 | | |
7701 | 7728 | | |
| 7729 | + | |
7702 | 7730 | | |
7703 | | - | |
| 7731 | + | |
7704 | 7732 | | |
7705 | 7733 | | |
7706 | 7734 | | |
| |||
7757 | 7785 | | |
7758 | 7786 | | |
7759 | 7787 | | |
7760 | | - | |
7761 | | - | |
| 7788 | + | |
| 7789 | + | |
| 7790 | + | |
| 7791 | + | |
| 7792 | + | |
| 7793 | + | |
| 7794 | + | |
7762 | 7795 | | |
7763 | 7796 | | |
7764 | 7797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2672 | 2672 | | |
2673 | 2673 | | |
2674 | 2674 | | |
2675 | | - | |
| 2675 | + | |
| 2676 | + | |
2676 | 2677 | | |
2677 | 2678 | | |
2678 | 2679 | | |
| |||
52242 | 52243 | | |
52243 | 52244 | | |
52244 | 52245 | | |
| 52246 | + | |
| 52247 | + | |
| 52248 | + | |
| 52249 | + | |
| 52250 | + | |
| 52251 | + | |
| 52252 | + | |
| 52253 | + | |
| 52254 | + | |
| 52255 | + | |
| 52256 | + | |
| 52257 | + | |
| 52258 | + | |
| 52259 | + | |
| 52260 | + | |
| 52261 | + | |
| 52262 | + | |
| 52263 | + | |
| 52264 | + | |
| 52265 | + | |
| 52266 | + | |
| 52267 | + | |
| 52268 | + | |
| 52269 | + | |
| 52270 | + | |
| 52271 | + | |
| 52272 | + | |
| 52273 | + | |
| 52274 | + | |
| 52275 | + | |
| 52276 | + | |
| 52277 | + | |
| 52278 | + | |
| 52279 | + | |
| 52280 | + | |
| 52281 | + | |
| 52282 | + | |
| 52283 | + | |
| 52284 | + | |
| 52285 | + | |
| 52286 | + | |
| 52287 | + | |
| 52288 | + | |
| 52289 | + | |
| 52290 | + | |
| 52291 | + | |
| 52292 | + | |
| 52293 | + | |
| 52294 | + | |
| 52295 | + | |
| 52296 | + | |
| 52297 | + | |
| 52298 | + | |
| 52299 | + | |
| 52300 | + | |
| 52301 | + | |
| 52302 | + | |
| 52303 | + | |
| 52304 | + | |
| 52305 | + | |
| 52306 | + | |
| 52307 | + | |
| 52308 | + | |
| 52309 | + | |
| 52310 | + | |
| 52311 | + | |
| 52312 | + | |
| 52313 | + | |
| 52314 | + | |
| 52315 | + | |
| 52316 | + | |
| 52317 | + | |
| 52318 | + | |
| 52319 | + | |
| 52320 | + | |
52245 | 52321 | | |
52246 | 52322 | | |
52247 | 52323 | | |
| |||
59172 | 59248 | | |
59173 | 59249 | | |
59174 | 59250 | | |
| 59251 | + | |
59175 | 59252 | | |
59176 | 59253 | | |
59177 | 59254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
149 | 190 | | |
150 | 191 | | |
151 | 192 | | |
| |||
0 commit comments