[all-commits] [llvm/llvm-project] de1e3e: [VPlan] Only use SCEV for live-ins in tryToWiden. ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 5 13:38:18 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: de1e3e98748a0b374f2d3e97cd3e423bdcb6400d
      https://github.com/llvm/llvm-project/commit/de1e3e98748a0b374f2d3e97cd3e423bdcb6400d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/mul-simplification.ll

  Log Message:
  -----------
  [VPlan] Only use SCEV for live-ins in tryToWiden. (#125436)

Replacing a recipe with a live-in may not be correct in all cases,
e.g. when replacing recipes involving header-phi recipes, like
reductions.

For now, only use SCEV to simplify live-ins.

More powerful input simplification can be built in top of
https://github.com/llvm/llvm-project/pull/124432 in the future.

Fixes https://github.com/llvm/llvm-project/issues/119173.
Fixes https://github.com/llvm/llvm-project/issues/125374.

PR: https://github.com/llvm/llvm-project/pull/125436
(cherry picked from commit 30f3752e54fa7cd595a434a985efbe9a7abe9b65)



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