Commit 3a1f677
committed
[SelectionDAG][X86] Remove unused elements from atomic vector.
After splitting, all elements are created. The two components must
be found by looking at the upper and lower half of EXTRACT_ELEMENT.
This change extends EltsFromConsecutiveLoads
to understand AtomicSDNode so that unused elements can be removed.
commit-id:b83937a81 parent 507069a commit 3a1f677
File tree
5 files changed
+90
-172
lines changed- llvm
- include/llvm/CodeGen
- lib
- CodeGen/SelectionDAG
- Target/X86
- test/CodeGen/X86
5 files changed
+90
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1873 | 1873 | | |
1874 | 1874 | | |
1875 | 1875 | | |
1876 | | - | |
| 1876 | + | |
1877 | 1877 | | |
1878 | 1878 | | |
1879 | 1879 | | |
| |||
2311 | 2311 | | |
2312 | 2312 | | |
2313 | 2313 | | |
2314 | | - | |
| 2314 | + | |
2315 | 2315 | | |
2316 | 2316 | | |
2317 | 2317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12215 | 12215 | | |
12216 | 12216 | | |
12217 | 12217 | | |
12218 | | - | |
| 12218 | + | |
12219 | 12219 | | |
12220 | 12220 | | |
12221 | 12221 | | |
| |||
12905 | 12905 | | |
12906 | 12906 | | |
12907 | 12907 | | |
12908 | | - | |
12909 | | - | |
| 12908 | + | |
| 12909 | + | |
12910 | 12910 | | |
12911 | 12911 | | |
12912 | 12912 | | |
12913 | 12913 | | |
12914 | | - | |
12915 | | - | |
12916 | | - | |
12917 | | - | |
12918 | | - | |
| 12914 | + | |
| 12915 | + | |
| 12916 | + | |
| 12917 | + | |
| 12918 | + | |
| 12919 | + | |
| 12920 | + | |
| 12921 | + | |
| 12922 | + | |
12919 | 12923 | | |
12920 | 12924 | | |
12921 | 12925 | | |
| |||
Lines changed: 17 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| 305 | + | |
| 306 | + | |
303 | 307 | | |
304 | | - | |
| 308 | + | |
305 | 309 | | |
306 | 310 | | |
307 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7193 | 7193 | | |
7194 | 7194 | | |
7195 | 7195 | | |
7196 | | - | |
7197 | | - | |
7198 | | - | |
7199 | | - | |
7200 | | - | |
| 7196 | + | |
| 7197 | + | |
7201 | 7198 | | |
7202 | 7199 | | |
7203 | 7200 | | |
7204 | | - | |
| 7201 | + | |
| 7202 | + | |
| 7203 | + | |
| 7204 | + | |
| 7205 | + | |
| 7206 | + | |
| 7207 | + | |
| 7208 | + | |
7205 | 7209 | | |
7206 | 7210 | | |
7207 | 7211 | | |
| |||
7254 | 7258 | | |
7255 | 7259 | | |
7256 | 7260 | | |
7257 | | - | |
| 7261 | + | |
7258 | 7262 | | |
7259 | 7263 | | |
7260 | 7264 | | |
| |||
7304 | 7308 | | |
7305 | 7309 | | |
7306 | 7310 | | |
7307 | | - | |
| 7311 | + | |
7308 | 7312 | | |
7309 | 7313 | | |
7310 | 7314 | | |
| |||
7318 | 7322 | | |
7319 | 7323 | | |
7320 | 7324 | | |
7321 | | - | |
7322 | | - | |
| 7325 | + | |
| 7326 | + | |
7323 | 7327 | | |
7324 | 7328 | | |
7325 | 7329 | | |
| |||
7347 | 7351 | | |
7348 | 7352 | | |
7349 | 7353 | | |
7350 | | - | |
| 7354 | + | |
7351 | 7355 | | |
7352 | 7356 | | |
7353 | 7357 | | |
| |||
9452 | 9456 | | |
9453 | 9457 | | |
9454 | 9458 | | |
9455 | | - | |
| 9459 | + | |
9456 | 9460 | | |
| 9461 | + | |
9457 | 9462 | | |
9458 | 9463 | | |
9459 | 9464 | | |
| |||
60381 | 60386 | | |
60382 | 60387 | | |
60383 | 60388 | | |
| 60389 | + | |
| 60390 | + | |
| 60391 | + | |
| 60392 | + | |
| 60393 | + | |
| 60394 | + | |
| 60395 | + | |
| 60396 | + | |
| 60397 | + | |
| 60398 | + | |
| 60399 | + | |
| 60400 | + | |
| 60401 | + | |
| 60402 | + | |
| 60403 | + | |
| 60404 | + | |
| 60405 | + | |
| 60406 | + | |
| 60407 | + | |
| 60408 | + | |
| 60409 | + | |
| 60410 | + | |
| 60411 | + | |
| 60412 | + | |
| 60413 | + | |
| 60414 | + | |
| 60415 | + | |
| 60416 | + | |
| 60417 | + | |
60384 | 60418 | | |
60385 | 60419 | | |
60386 | 60420 | | |
| |||
60577 | 60611 | | |
60578 | 60612 | | |
60579 | 60613 | | |
| 60614 | + | |
60580 | 60615 | | |
60581 | 60616 | | |
60582 | 60617 | | |
| |||
0 commit comments