Commit fcec875
authored
[LoopVectorize][NFC] Simplify ScaledReductionExitInstrs map (llvm#123368)
For the following variable
DenseMap<const Instruction *, std::pair<PartialReductionChain,
unsigned>>
ScaledReductionExitInstrs;
we never actually need the PartialReductionChain when using the map.
I've cleaned this up so that this now becomes
DenseMap<const Instruction *, unsigned> ScaledReductionMap;1 parent 723a3e7 commit fcec875
File tree
2 files changed
+10
-15
lines changed- llvm/lib/Transforms/Vectorize
2 files changed
+10
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8711 | 8711 | | |
8712 | 8712 | | |
8713 | 8713 | | |
8714 | | - | |
| 8714 | + | |
8715 | 8715 | | |
8716 | 8716 | | |
8717 | 8717 | | |
| |||
8803 | 8803 | | |
8804 | 8804 | | |
8805 | 8805 | | |
8806 | | - | |
8807 | | - | |
8808 | | - | |
| 8806 | + | |
| 8807 | + | |
8809 | 8808 | | |
8810 | 8809 | | |
8811 | 8810 | | |
| |||
8840 | 8839 | | |
8841 | 8840 | | |
8842 | 8841 | | |
8843 | | - | |
| 8842 | + | |
8844 | 8843 | | |
8845 | 8844 | | |
8846 | 8845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 89 | + | |
| 90 | + | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
157 | 155 | | |
158 | 156 | | |
159 | 157 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
166 | 162 | | |
167 | 163 | | |
168 | 164 | | |
| |||
0 commit comments