![]() Summary: In first order recurrences where phi's are used outside the loop, we should generate an additional vector.extract of the second last element from the vectorized phi update. This is because we require the phi itself (which is the value at the second last iteration of the vector loop) and not the phi's update within the loop. Also fix the code gen when we just unroll, but don't vectorize. Fixes PR32396. Reviewers: mssimpso, mkuper, anemet Subscribers: llvm-commits, mzolotukhin Differential Revision: https://reviews.llvm.org/D31979 llvm-svn: 300238 |
||
---|---|---|
.. | ||
aarch64-predication.ll | ||
aarch64-unroll.ll | ||
arbitrary-induction-step.ll | ||
arm64-unroll.ll | ||
backedge-overflow.ll | ||
deterministic-type-shrinkage.ll | ||
gather-cost.ll | ||
induction-trunc.ll | ||
interleaved-vs-scalar.ll | ||
interleaved_cost.ll | ||
lit.local.cfg | ||
loop-vectorization-factors.ll | ||
max-vf-for-interleaved.ll | ||
pr31900.ll | ||
predication_costs.ll | ||
reduction-small-size.ll | ||
sdiv-pow2.ll | ||
smallest-and-widest-types.ll | ||
type-shrinkage-insertelt.ll |