[all-commits] [llvm/llvm-project] 68884d: [LV] Move LoopVersioning creation to LVP::execute.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 30 04:15:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68884dde702c2306947f1c38e7e8a3a739b50412
      https://github.com/llvm/llvm-project/commit/68884dde702c2306947f1c38e7e8a3a739b50412
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

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

  Log Message:
  -----------
  [LV] Move LoopVersioning creation to LVP::execute.

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.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D127966




More information about the All-commits mailing list