Commit 1a0bae5
committed
Make having flags (FMFs etc) not require inheriting VPSingleDefRecipe
In the next patch `VPWidenCallRecipe` is made to return multiple
results. It still needs to support flags, but can't be a
`VPSingleDefRecipe`.
This is fixed by replacing `VPRecipeWithIRFlags` with `VPRecipeIRFlags`,
and adding the virtual method `VPRecipeIRFlags* VPRecipeBase::getIRFlags()`.
So now a recipe having flags does not require any special inheritance
(or imply a number of results).1 parent d2643e2 commit 1a0bae5
File tree
5 files changed
+162
-134
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/LoopVectorize/AArch64
5 files changed
+162
-134
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments