[VPlan] Keep entries in worklist in sinkScalarOperands.
authorFlorian Hahn <flo@fhahn.com>
Sun, 8 Jan 2023 15:52:00 +0000 (15:52 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sun, 8 Jan 2023 15:52:57 +0000 (15:52 +0000)
commit78914e8c326e266a55e35c7ec724be8c8393bb6a
treee611576f15b84bb213a09d46728473aff0ff7dc5
parent0c731b0c00f5e2ca1143fd0061064e897059ef05
[VPlan] Keep entries in worklist in sinkScalarOperands.

Not removing the entries ensures that duplicates are avoided,
reducing the number of iterations.
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/test/Transforms/LoopVectorize/X86/small-size.ll
llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
llvm/test/Transforms/LoopVectorize/float-induction.ll
llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll