Commit 078c863
committed
[LV] Replace stored value with a VPValue (NFCI)
InnerLoopVectorizer's code called during VPlan execution still relies on original IR's def-use relations to decide which vector code to generate, limiting VPlan transformations ability to modify def-use relations and still have ILV generate the vector code. This commit introduces a VPValue for VPWidenMemoryInstructionRecipe to use as the stored value. The recipe is generated with a VPValue wrapping the stored value of the scalar store. This reduces ingredient def-use usage by ILV as a step towards full VPlan-based def-use relations. Differential Revision: https://reviews.llvm.org/D763731 parent d72c586 commit 078c863
File tree
3 files changed
+54
-14
lines changed- llvm/lib/Transforms/Vectorize
3 files changed
+54
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
490 | | - | |
| 489 | + | |
| 490 | + | |
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| |||
2348 | 2348 | | |
2349 | 2349 | | |
2350 | 2350 | | |
| 2351 | + | |
2351 | 2352 | | |
2352 | 2353 | | |
2353 | 2354 | | |
2354 | 2355 | | |
2355 | 2356 | | |
2356 | 2357 | | |
| 2358 | + | |
| 2359 | + | |
2357 | 2360 | | |
2358 | 2361 | | |
2359 | 2362 | | |
| |||
2425 | 2428 | | |
2426 | 2429 | | |
2427 | 2430 | | |
2428 | | - | |
| 2431 | + | |
2429 | 2432 | | |
2430 | 2433 | | |
2431 | 2434 | | |
| |||
6807 | 6810 | | |
6808 | 6811 | | |
6809 | 6812 | | |
6810 | | - | |
| 6813 | + | |
| 6814 | + | |
| 6815 | + | |
| 6816 | + | |
| 6817 | + | |
| 6818 | + | |
6811 | 6819 | | |
6812 | 6820 | | |
6813 | 6821 | | |
| |||
7515 | 7523 | | |
7516 | 7524 | | |
7517 | 7525 | | |
7518 | | - | |
| 7526 | + | |
| 7527 | + | |
| 7528 | + | |
7519 | 7529 | | |
7520 | 7530 | | |
7521 | 7531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1064 | 1067 | | |
1065 | 1068 | | |
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
1069 | 1072 | | |
1070 | 1073 | | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
1071 | 1085 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1077 | 1096 | | |
1078 | 1097 | | |
1079 | 1098 | | |
| |||
1089 | 1108 | | |
1090 | 1109 | | |
1091 | 1110 | | |
1092 | | - | |
1093 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1094 | 1120 | | |
1095 | 1121 | | |
1096 | 1122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
0 commit comments