[all-commits] [llvm/llvm-project] 03b553: [ADT] Align `GenericCycle::getExitBlocks`/`getExit...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Wed Apr 1 05:45:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03b5539dd58584e6821e11123d5c8546147a6f41
      https://github.com/llvm/llvm-project/commit/03b5539dd58584e6821e11123d5c8546147a6f41
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M llvm/include/llvm/ADT/GenericCycleImpl.h
    M llvm/unittests/Analysis/CFGTest.cpp

  Log Message:
  -----------
  [ADT] Align `GenericCycle::getExitBlocks`/`getExitingBlocks` methods with LoopBase

Ensure `GenericCycle::getExitBlocks` does not replace the content
of the output vector and behaves as `LoopBase::getExitBlocks`,
previously exposing an issue within `isPotentiallyReachable`.

Fixes: https://github.com/llvm/llvm-project/issues/189800.
Fixes: https://github.com/llvm/llvm-project/issues/189289.
Fixes: https://github.com/llvm/llvm-project/issues/189234.
Fixes: https://github.com/llvm/llvm-project/issues/189180.



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