[all-commits] [llvm/llvm-project] 1ff022: [LV] Add vector.body block to parent loop during s...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 5 03:55:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ff022e21b56427b56f104fcdf4d137e7b1318cd
      https://github.com/llvm/llvm-project/commit/1ff022e21b56427b56f104fcdf4d137e7b1318cd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization.ll

  Log Message:
  -----------
  [LV] Add vector.body block to parent loop during skeleton creation.

When creating induction resume values, SCEV queries may rely on
LoopInfo. Make sure vector.body gets added to the loop of the pre-header
during skeleton construction.

%vector.body will be moved to the vector preheader during VPlan
execution.

Fixes #54745.




More information about the All-commits mailing list