[all-commits] [llvm/llvm-project] c89058: [VPlan] Account for live-in entries in MinBW used ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 3 03:16:07 PST 2023


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/deterministic-type-shrinkage.ll

  Log Message:
  -----------
  [VPlan] Account for live-in entries in MinBW used by replicate recipes.

In some cases MinBWs may contain entries for live-ins that are not used
by VPWidenRecipe or VPWidenSelectRecipes. In those cases, the live-ins
won't get processed, so make sure we include them in the count when used
as operands in VPWidenCast and VPWidenSelectRecipe.

Fixes https://github.com/llvm/llvm-project/issues/74231




More information about the All-commits mailing list