Revert "[VPlan] Switch to checking sinking legality for recurrences in VPlan."
authorManoj Gupta <manojgupta@google.com>
Mon, 17 Apr 2023 18:39:07 +0000 (11:39 -0700)
committerManoj Gupta <manojgupta@google.com>
Mon, 17 Apr 2023 19:19:36 +0000 (12:19 -0700)
commit3d8ed8b5192a59104bfbd5bf7ac84d035ee0a4a5
treed124cf17f29cb06fd51a5fb4a021d2296b183e00
parentee917996708c936dd7f275de06b7895f5e3c11ec
Revert "[VPlan] Switch to checking sinking legality for recurrences in VPlan."

This reverts commit 7fc0b3049df532fce726d1ff6869a9f6e3183780.

Causes a clang hang when building xz utils, github issue #62187.
llvm/include/llvm/Analysis/IVDescriptors.h
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Analysis/IVDescriptors.cpp
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.h
llvm/test/Transforms/LoopVectorize/first-order-recurrence-chains.ll
llvm/test/Transforms/LoopVectorize/first-order-recurrence-multiply-recurrences.ll