Commit a323a92
committed
[VPlan] Handle predicated UDiv in VPReplicateRecipe::computeCost.
Account for predicated UDiv,SDiv,URem,SRem in
VPReplicateRecipe::computeCost: compute costs of extra phis and apply
getPredBlockCostDivisor.
Fixes llvm#158660
(cherry picked from commit 1858532)1 parent 151128d commit a323a92
File tree
2 files changed
+468
-3
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/LoopVectorize/X86
2 files changed
+468
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3053 | 3053 | | |
3054 | 3054 | | |
3055 | 3055 | | |
3056 | | - | |
3057 | | - | |
3058 | | - | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
3059 | 3072 | | |
3060 | 3073 | | |
3061 | 3074 | | |
| |||
0 commit comments