[all-commits] [llvm/llvm-project] 9d297c: [VPlan] Add prepareToExecute to set up live-ins (N...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Dec 28 08:51:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d297c7894ecae3d0ab18b6dac4c2df0bc489951
      https://github.com/llvm/llvm-project/commit/9d297c7894ecae3d0ab18b6dac4c2df0bc489951
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-28 (Tue, 28 Dec 2021)

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

  Log Message:
  -----------
  [VPlan] Add prepareToExecute to set up live-ins (NFC).

This patch adds a new prepareToExecute helper to set up live-ins, so
VPTransformState doesn't need to hold values like TripCount.

This also requires making the trip count operand for ActiveLaneMask
explicit in VPlan.

Reviewed By: Ayal

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




More information about the All-commits mailing list