[all-commits] [llvm/llvm-project] 747cf2: [LV] Rework legacy widen/replicate in tryToBuildVP...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Sep 22 10:49:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 747cf241988e83e9ab4aae88efc10d91e87a0b90
      https://github.com/llvm/llvm-project/commit/747cf241988e83e9ab4aae88efc10d91e87a0b90
  Author: Ramkumar Ramachandra <artagnon at tenstorrent.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

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

  Log Message:
  -----------
  [LV] Rework legacy widen/replicate in tryToBuildVPlan (NFC) (#224569)

The code has been rewritten for clarity:

- An RPOT traversal is unnecessary, and a depth-first will do.
- The list of recipes to be skipped continues to grow, and its utility
is in question. Replace it with a clean make_isa_range over
VPInstructions, and an assert.
- Clarify that tryToCreateWidenNonPhiRecipe is the routine that produces
VPWidenIntOrFpInductionRecipes.
- Clarify the necessity of the underling value.



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