[all-commits] [llvm/llvm-project] 567b31: [VPlan] Construct initial once and pass clones to ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon May 26 05:43:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 567b3172da2d52f5df70a37f3de06b7000b25968
      https://github.com/llvm/llvm-project/commit/567b3172da2d52f5df70a37f3de06b7000b25968
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-26 (Mon, 26 May 2025)

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

  Log Message:
  -----------
  [VPlan] Construct initial once and pass clones to tryToBuildVPlan (NFC). (#141363)

Update to only build an initial, plain-CFG VPlan once, and then
transform & optimize clones.

This requires changes to ::clone() for VPInstruction and
VPWidenPHIRecipe to allow for proper cloning of the recipes in the
initial VPlan.

PR: https://github.com/llvm/llvm-project/pull/141363



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