llvm-project/llvm/test/Transforms/LoopVectorize/PowerPC
Sjoerd Meijer 9529597cf4 Recommit #2: "[LV] Induction Variable does not remain scalar under tail-folding."
This was reverted because of a miscompilation. At closer inspection, the
problem was actually visible in a changed llvm regression test too. This
one-line follow up fix/recommit will splat the IV, which is what we are trying
to avoid if unnecessary in general, if tail-folding is requested even if all
users are scalar instructions after vectorisation. Because with tail-folding,
the splat IV will be used by the predicate of the masked loads/stores
instructions. The previous version omitted this, which caused the
miscompilation. The original commit message was:

If tail-folding of the scalar remainder loop is applied, the primary induction
variable is splat to a vector and used by the masked load/store vector
instructions, thus the IV does not remain scalar. Because we now mark
that the IV does not remain scalar for these cases, we don't emit the vector IV
if it is not used. Thus, the vectoriser produces less dead code.

Thanks to Ayal Zaks for the direction how to fix this.
2020-05-13 13:50:09 +01:00
..
agg-interleave-a2.ll
large-loop-rdx.ll
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
massv-altivec.ll Initial support for IBM MASS vector library 2019-06-05 01:31:43 +00:00
massv-calls.ll Initial support for IBM MASS vector library 2019-06-05 01:31:43 +00:00
massv-nobuiltin.ll Initial support for IBM MASS vector library 2019-06-05 01:31:43 +00:00
massv-unsupported.ll Initial support for IBM MASS vector library 2019-06-05 01:31:43 +00:00
pr30990.ll
reg-usage.ll [PowerPC][LoopVectorize] Extend getRegisterClassForType to consider double and other floating point type 2020-01-06 18:44:59 +00:00
small-loop-rdx.ll
stride-vectorization.ll
vectorize-bswap.ll Recommit #2: "[LV] Induction Variable does not remain scalar under tail-folding." 2020-05-13 13:50:09 +01:00
vectorize-only-for-real.ll
vsx-tsvc-s173.ll
widened-massv-call.ll Fix buildbot break after c46b85aaf4 2020-02-26 21:56:11 -06:00
widened-massv-vfabi-attr.ll Fix buildbot break after c46b85aaf4 2020-02-26 21:56:11 -06:00