[PATCH] D127966: [LV] Move LoopVersioning creation to LVP::execute.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 07:39:26 PDT 2022


fhahn created this revision.
fhahn added reviewers: Ayal, gilr, bmahjour.
Herald added a subscriber: hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

At the moment LoopVersioning is only created for inner-loop
vectorization. This patch moves it to LVP::execute, which means it will
also be added for epilogue vectorization. As a consequence, the proper
noalias metadata is now also added to epilogue vector loops.

LVer will be moved to VPTransformState as follow-up.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127966

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127966.437535.patch
Type: text/x-patch
Size: 13235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/6cd6f910/attachment.bin>


More information about the llvm-commits mailing list