Commit 6bf9489
authored
[VPlan] Store memory alignment in VPWidenMemoryRecipe. nfc (#165255)
Add an member Alignment to VPWidenMemoryRecipe to store memory alignment
directly in the recipe. Update constructors, clone(), and relevant
methods to use this stored alignment instead of querying the IR
instruction. This allows VPWidenLoadRecipe/VPWidenStoreRecipe to be
constructed without relying on the original IR instruction in the
future.1 parent 2984a8d commit 6bf9489
File tree
5 files changed
+40
-35
lines changed- llvm
- lib/Transforms/Vectorize
- unittests/Transforms/Vectorize
5 files changed
+40
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7543 | 7543 | | |
7544 | 7544 | | |
7545 | 7545 | | |
7546 | | - | |
| 7546 | + | |
| 7547 | + | |
7547 | 7548 | | |
7548 | 7549 | | |
7549 | 7550 | | |
7550 | | - | |
7551 | | - | |
| 7551 | + | |
| 7552 | + | |
7552 | 7553 | | |
7553 | 7554 | | |
7554 | 7555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3179 | 3179 | | |
3180 | 3180 | | |
3181 | 3181 | | |
| 3182 | + | |
| 3183 | + | |
| 3184 | + | |
3182 | 3185 | | |
3183 | 3186 | | |
3184 | 3187 | | |
| |||
3198 | 3201 | | |
3199 | 3202 | | |
3200 | 3203 | | |
3201 | | - | |
| 3204 | + | |
3202 | 3205 | | |
3203 | 3206 | | |
3204 | | - | |
| 3207 | + | |
3205 | 3208 | | |
3206 | 3209 | | |
3207 | 3210 | | |
| |||
3242 | 3245 | | |
3243 | 3246 | | |
3244 | 3247 | | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
3245 | 3251 | | |
3246 | 3252 | | |
3247 | 3253 | | |
| |||
3259 | 3265 | | |
3260 | 3266 | | |
3261 | 3267 | | |
3262 | | - | |
| 3268 | + | |
3263 | 3269 | | |
3264 | 3270 | | |
3265 | | - | |
| 3271 | + | |
3266 | 3272 | | |
3267 | 3273 | | |
3268 | 3274 | | |
3269 | 3275 | | |
3270 | 3276 | | |
3271 | 3277 | | |
3272 | | - | |
3273 | | - | |
| 3278 | + | |
| 3279 | + | |
3274 | 3280 | | |
3275 | 3281 | | |
3276 | 3282 | | |
| |||
3301 | 3307 | | |
3302 | 3308 | | |
3303 | 3309 | | |
3304 | | - | |
3305 | | - | |
| 3310 | + | |
| 3311 | + | |
3306 | 3312 | | |
3307 | 3313 | | |
3308 | 3314 | | |
| |||
3340 | 3346 | | |
3341 | 3347 | | |
3342 | 3348 | | |
3343 | | - | |
| 3349 | + | |
3344 | 3350 | | |
3345 | | - | |
| 3351 | + | |
3346 | 3352 | | |
3347 | 3353 | | |
3348 | 3354 | | |
3349 | 3355 | | |
3350 | 3356 | | |
3351 | 3357 | | |
3352 | | - | |
| 3358 | + | |
3353 | 3359 | | |
3354 | 3360 | | |
3355 | 3361 | | |
| |||
3384 | 3390 | | |
3385 | 3391 | | |
3386 | 3392 | | |
3387 | | - | |
| 3393 | + | |
3388 | 3394 | | |
3389 | 3395 | | |
3390 | 3396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3525 | 3525 | | |
3526 | 3526 | | |
3527 | 3527 | | |
3528 | | - | |
3529 | 3528 | | |
3530 | 3529 | | |
3531 | 3530 | | |
| |||
3575 | 3574 | | |
3576 | 3575 | | |
3577 | 3576 | | |
3578 | | - | |
3579 | 3577 | | |
3580 | 3578 | | |
3581 | 3579 | | |
| |||
3630 | 3628 | | |
3631 | 3629 | | |
3632 | 3630 | | |
3633 | | - | |
3634 | 3631 | | |
3635 | 3632 | | |
3636 | 3633 | | |
| |||
3674 | 3671 | | |
3675 | 3672 | | |
3676 | 3673 | | |
3677 | | - | |
3678 | 3674 | | |
3679 | 3675 | | |
3680 | 3676 | | |
| |||
3700 | 3696 | | |
3701 | 3697 | | |
3702 | 3698 | | |
3703 | | - | |
3704 | 3699 | | |
3705 | 3700 | | |
3706 | 3701 | | |
| |||
3743 | 3738 | | |
3744 | 3739 | | |
3745 | 3740 | | |
3746 | | - | |
3747 | 3741 | | |
3748 | 3742 | | |
3749 | 3743 | | |
| |||
3786 | 3780 | | |
3787 | 3781 | | |
3788 | 3782 | | |
3789 | | - | |
3790 | 3783 | | |
3791 | 3784 | | |
3792 | 3785 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
4234 | 4235 | | |
4235 | 4236 | | |
4236 | 4237 | | |
| 4238 | + | |
| 4239 | + | |
4237 | 4240 | | |
4238 | | - | |
4239 | | - | |
4240 | | - | |
| 4241 | + | |
| 4242 | + | |
4241 | 4243 | | |
4242 | 4244 | | |
4243 | 4245 | | |
| |||
4280 | 4282 | | |
4281 | 4283 | | |
4282 | 4284 | | |
| 4285 | + | |
| 4286 | + | |
4283 | 4287 | | |
4284 | | - | |
4285 | | - | |
4286 | | - | |
| 4288 | + | |
| 4289 | + | |
4287 | 4290 | | |
4288 | 4291 | | |
4289 | 4292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
| 1136 | + | |
1136 | 1137 | | |
1137 | 1138 | | |
1138 | 1139 | | |
| |||
1249 | 1250 | | |
1250 | 1251 | | |
1251 | 1252 | | |
1252 | | - | |
| 1253 | + | |
| 1254 | + | |
1253 | 1255 | | |
1254 | 1256 | | |
1255 | 1257 | | |
| |||
1263 | 1265 | | |
1264 | 1266 | | |
1265 | 1267 | | |
1266 | | - | |
1267 | | - | |
| 1268 | + | |
| 1269 | + | |
1268 | 1270 | | |
1269 | 1271 | | |
1270 | 1272 | | |
| |||
0 commit comments