Commit 8ee9646
authored
[LV] Simplify creation of vp.load/vp.store/vp.reduce intrinsics (llvm#143804)
The use of VectorBuilder here was simply obscuring what was actually
going on. For vp.load and vp.store, the resulting code is significantly
more idiomatic. For the vp.reduce cases, we remove several layers of
indirection, including passing parameters via implicit state on the
builder. In both cases, the code is significantly easier to follow.1 parent d659046 commit 8ee9646
File tree
8 files changed
+31
-551
lines changed- llvm
- include/llvm
- IR
- Transforms/Utils
- lib
- IR
- Transforms
- Utils
- Vectorize
- unittests/IR
8 files changed
+31
-551
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
426 | | - | |
427 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1319 | 1319 | | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | | - | |
1323 | | - | |
| 1322 | + | |
| 1323 | + | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
1334 | 1335 | | |
1335 | 1336 | | |
1336 | 1337 | | |
| |||
1343 | 1344 | | |
1344 | 1345 | | |
1345 | 1346 | | |
1346 | | - | |
1347 | | - | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1348 | 1350 | | |
1349 | 1351 | | |
1350 | 1352 | | |
1351 | 1353 | | |
1352 | 1354 | | |
1353 | 1355 | | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
1357 | 1362 | | |
1358 | 1363 | | |
1359 | 1364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
2524 | 2523 | | |
2525 | 2524 | | |
2526 | 2525 | | |
2527 | | - | |
2528 | | - | |
2529 | 2526 | | |
2530 | | - | |
2531 | 2527 | | |
2532 | 2528 | | |
2533 | 2529 | | |
2534 | 2530 | | |
2535 | | - | |
2536 | 2531 | | |
2537 | 2532 | | |
2538 | 2533 | | |
2539 | | - | |
| 2534 | + | |
2540 | 2535 | | |
2541 | | - | |
| 2536 | + | |
2542 | 2537 | | |
2543 | 2538 | | |
2544 | 2539 | | |
| |||
3086 | 3081 | | |
3087 | 3082 | | |
3088 | 3083 | | |
3089 | | - | |
3090 | | - | |
3091 | | - | |
3092 | | - | |
| 3084 | + | |
| 3085 | + | |
3093 | 3086 | | |
3094 | 3087 | | |
3095 | 3088 | | |
| |||
3204 | 3197 | | |
3205 | 3198 | | |
3206 | 3199 | | |
3207 | | - | |
3208 | | - | |
3209 | | - | |
3210 | | - | |
3211 | | - | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
3212 | 3203 | | |
3213 | 3204 | | |
3214 | 3205 | | |
| |||
0 commit comments