[all-commits] [llvm/llvm-project] c255eb: [VPlan] Use VPLiveOut to update FOR live-out users.

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 10 05:03:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c255eb2c4bcc72b2f3fb3ed8f38df2b6f6978d2a
      https://github.com/llvm/llvm-project/commit/c255eb2c4bcc72b2f3fb3ed8f38df2b6f6978d2a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

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

  Log Message:
  -----------
  [VPlan] Use VPLiveOut to update FOR live-out users.

Instead of iterating over all LCSSA phis in the exit block, collect all
LiveOut users of the FOR splice VPInstruction and only update those
users.

Building on top of D147471, this removes an access to the cost model
after VPlan execution.

Depends on D147471.

Reviewed By: Ayal, michaelmaitland

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




More information about the All-commits mailing list