Commit d108ebd
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 71d49aa commit d108ebd
File tree
6 files changed
+83
-187
lines changed- llvm
- include/llvm/CodeGen
- lib
- CodeGen/SelectionDAG
- Target/X86
- test/CodeGen/X86
6 files changed
+83
-187
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1843 | 1843 | | |
1844 | 1844 | | |
1845 | 1845 | | |
1846 | | - | |
| 1846 | + | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | | - | |
| 2284 | + | |
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12218 | 12218 | | |
12219 | 12219 | | |
12220 | 12220 | | |
12221 | | - | |
| 12221 | + | |
12222 | 12222 | | |
12223 | 12223 | | |
12224 | 12224 | | |
| |||
12911 | 12911 | | |
12912 | 12912 | | |
12913 | 12913 | | |
12914 | | - | |
12915 | | - | |
| 12914 | + | |
| 12915 | + | |
12916 | 12916 | | |
12917 | 12917 | | |
12918 | 12918 | | |
12919 | 12919 | | |
12920 | | - | |
12921 | | - | |
12922 | | - | |
12923 | | - | |
12924 | | - | |
| 12920 | + | |
| 12921 | + | |
| 12922 | + | |
| 12923 | + | |
| 12924 | + | |
| 12925 | + | |
| 12926 | + | |
| 12927 | + | |
| 12928 | + | |
12925 | 12929 | | |
12926 | 12930 | | |
12927 | 12931 | | |
| |||
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 | |
|---|---|---|---|
| |||
5172 | 5172 | | |
5173 | 5173 | | |
5174 | 5174 | | |
5175 | | - | |
| 5175 | + | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
| 5179 | + | |
5176 | 5180 | | |
5177 | 5181 | | |
5178 | 5182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7191 | 7191 | | |
7192 | 7192 | | |
7193 | 7193 | | |
7194 | | - | |
7195 | | - | |
7196 | | - | |
7197 | | - | |
7198 | | - | |
| 7194 | + | |
| 7195 | + | |
7199 | 7196 | | |
7200 | 7197 | | |
7201 | 7198 | | |
7202 | | - | |
| 7199 | + | |
| 7200 | + | |
| 7201 | + | |
| 7202 | + | |
| 7203 | + | |
| 7204 | + | |
| 7205 | + | |
| 7206 | + | |
7203 | 7207 | | |
7204 | 7208 | | |
7205 | 7209 | | |
| |||
7228 | 7232 | | |
7229 | 7233 | | |
7230 | 7234 | | |
| 7235 | + | |
| 7236 | + | |
| 7237 | + | |
| 7238 | + | |
| 7239 | + | |
| 7240 | + | |
| 7241 | + | |
| 7242 | + | |
| 7243 | + | |
| 7244 | + | |
| 7245 | + | |
| 7246 | + | |
| 7247 | + | |
| 7248 | + | |
7231 | 7249 | | |
7232 | 7250 | | |
7233 | 7251 | | |
| |||
7252 | 7270 | | |
7253 | 7271 | | |
7254 | 7272 | | |
7255 | | - | |
| 7273 | + | |
7256 | 7274 | | |
7257 | 7275 | | |
7258 | 7276 | | |
| |||
7302 | 7320 | | |
7303 | 7321 | | |
7304 | 7322 | | |
7305 | | - | |
| 7323 | + | |
7306 | 7324 | | |
7307 | 7325 | | |
7308 | 7326 | | |
| |||
7316 | 7334 | | |
7317 | 7335 | | |
7318 | 7336 | | |
7319 | | - | |
7320 | | - | |
| 7337 | + | |
| 7338 | + | |
7321 | 7339 | | |
7322 | 7340 | | |
7323 | 7341 | | |
| |||
7345 | 7363 | | |
7346 | 7364 | | |
7347 | 7365 | | |
7348 | | - | |
| 7366 | + | |
7349 | 7367 | | |
7350 | 7368 | | |
7351 | 7369 | | |
| |||
9402 | 9420 | | |
9403 | 9421 | | |
9404 | 9422 | | |
9405 | | - | |
| 9423 | + | |
9406 | 9424 | | |
| 9425 | + | |
9407 | 9426 | | |
9408 | 9427 | | |
9409 | 9428 | | |
| |||
0 commit comments