[all-commits] [llvm/llvm-project] e47d22: [LV] Use getVectorLoopRegion to retrieve header. (...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 25 09:57:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e47d22023026085bd8fb836588fd8f53a4c6d10a
      https://github.com/llvm/llvm-project/commit/e47d22023026085bd8fb836588fd8f53a4c6d10a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp

  Log Message:
  -----------
  [LV] Use getVectorLoopRegion to retrieve header. (NFC)

Update all places that currently assume the entry block to the plan is
also the vector loop header to use getVectorLoopRegion instead.

getVectorLoopRegion will keep doing the right thing when the pre-header
is modeled explicitly (and becomes the new entry block in the plan).




More information about the All-commits mailing list