[all-commits] [llvm/llvm-project] 05eba6: [VPlan] Add vputils::getEarlyExits helper (NFC) (#...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jul 27 15:27:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05eba618a37839999d3eb6ca7328337cd4765dfd
      https://github.com/llvm/llvm-project/commit/05eba618a37839999d3eb6ca7328337cd4765dfd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUtils.h

  Log Message:
  -----------
  [VPlan] Add vputils::getEarlyExits helper (NFC) (#212348)

Both handleUncountableEarlyExits and the countable early-exit disconnect
in handleEarlyExits walk all exit blocks and skip predecessors coming
from the middle block to find the early exiting blocks.

Factor that walk out into vputils::getEarlyExits, returning the (early
exiting block, exit block) pairs.



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