[all-commits] [llvm/llvm-project] 9f2035: [VPlan] Move tail folding logic out of addMiddleCh...

Luke Lau via All-commits all-commits at lists.llvm.org
Sun Jun 14 19:50:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f2035d27cb534ab7be6fe3e41603eba74e66df5
      https://github.com/llvm/llvm-project/commit/9f2035d27cb534ab7be6fe3e41603eba74e66df5
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Transforms/LoopVectorize/VPlan/tail-folding.ll
    M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h

  Log Message:
  -----------
  [VPlan] Move tail folding logic out of addMiddleCheck. NFC (#203475)

We simplify the TripCount == VectorTrip count condition with tail
folding, but we can just do that in foldTailByMasking and keep the
logic in one place instead.



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