[all-commits] [llvm/llvm-project] bbc8fc: [VPlan] Fix assertion when VPReductionPHIRecipe is...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Jun 2 03:02:55 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbc8fcb0e850984efa54eb815717f7ab905c4c05
      https://github.com/llvm/llvm-project/commit/bbc8fcb0e850984efa54eb815717f7ab905c4c05
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/reduction-with-invariant-store.ll

  Log Message:
  -----------
  [VPlan] Fix assertion when VPReductionPHIRecipe is simplified (#201023)

When replacing an invariant store of a reduction, we assert that the
stored value is the backedge value. However in some cases the
VPReductionPHIRecipe may be simplified away completely, so account for
this.

Fixes #201020
Fixes #200742



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list