[all-commits] [llvm/llvm-project] ba9368: [VPlan] Also use original parent loop for exit VPBBs.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri May 16 13:13:15 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/test/Transforms/LoopVectorize/single_early_exit_with_outer_loop.ll

  Log Message:
  -----------
  [VPlan] Also use original parent loop for exit VPBBs.

When vectorizing loops with early exits that is nested within another
one, one of the loop exits may be outside both loops, so setting adding
it to the parent loop is incorrect. Also use the original parent loop
for exit blocks.



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