On Thu, Jun 2, 2016 at 6:03 PM, Alan Hayward <alan.hayw...@arm.com> wrote: > The IFN_GOMP_SIMD_LANE code in vectorizable_call is essentially a > duplicate of > the code in vectorizable_live_operation. They both replace all uses > outside the > loop with the constant VF - 1. > > Note that my patch to vectorize inductions that are live after the loop > will > also remove the IFN_GOMP_SIMD_LANE code in vectorizable_live_operation. > > This patch is required in order for the follow on optimisation (No need to > Vectorise simple only-live stmts) to work. > > Tested with libgomp on x86 and aarch64
Ok. Thanks, Richard. > gcc/ > * tree-vect-stmts.c (vectorizable_call) Remove GOMP_SIMD_LANE code. > > Alan. >