[all-commits] [llvm/llvm-project] cbf7b5: [VPlan] Properly update reduction live-out after p...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Dec 2 07:22:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbf7b52a65890ea72cb6319bfdf98d92dd9ddc81
      https://github.com/llvm/llvm-project/commit/cbf7b52a65890ea72cb6319bfdf98d92dd9ddc81
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-12-02 (Sat, 02 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll

  Log Message:
  -----------
  [VPlan] Properly update reduction live-out after placing select.

After inserting a select for the final value, update the VPlan def-use
chains. At the moment, the incorrect live-out doesn't cause a
mis-compile, as computing the final reduction value is not yet modeled
in VPlan.




More information about the All-commits mailing list