Revert "[LV] Unconditionally branch from middle to scalar preheader if the scalar...
authorPhilip Reames <listmail@philipreames.com>
Mon, 17 May 2021 23:49:32 +0000 (16:49 -0700)
committerPhilip Reames <listmail@philipreames.com>
Mon, 17 May 2021 23:49:32 +0000 (16:49 -0700)
commitd16da7343d40bc974c1906a271128fbaa3035db5
treea6064959b4e38da50dd964f0f405ead1e10ff23d
parentc23ce54b36b1a52eb280ea1d59802b56d6dd9800
Revert "[LV] Unconditionally branch from middle to scalar preheader if the scalar loop must execute"

This reverts commit c23ce54b36b1a52eb280ea1d59802b56d6dd9800.  I apparently missed some newly added non-x86 tests.
llvm/lib/Transforms/Utils/LoopVersioning.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
llvm/test/Transforms/LoopVectorize/loop-form.ll