[all-commits] [llvm/llvm-project] 076806: [VPlan] Remove ExtractLastLane for plans with scal...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Dec 9 04:00:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0768068ff086999b49badbf31259afcfa04783ed
      https://github.com/llvm/llvm-project/commit/0768068ff086999b49badbf31259afcfa04783ed
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
    M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll

  Log Message:
  -----------
  [VPlan] Remove ExtractLastLane for plans with scalar VFs. (#171145)

ExtractLastLane is a no-op for scalar VFs. Update simplifyRecipe to
remove them. This also requires adjusting the code in VPlanUnroll.cpp to
split off handling of ExtractLastLane/ExtractPenultimateElement for
scalar VFs, which now needs to match ExtractLastPart.

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



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