[llvm] [polly] [LoopInfo] Replace raw loop-container accessors with semantic operations (PR #210653)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 20:29:19 PDT 2026


================
@@ -294,19 +278,9 @@ template <class BlockT, class LoopT> class LoopBase {
   /// Otherwise return null.
   BlockT *getUniqueExitBlock() const;
 
-  /// Return the unique exit block for the latch, or null if there are multiple
-  /// different exit blocks or the latch is not exiting.
-  BlockT *getUniqueLatchExitBlock() const;
-
-  /// Return true if this loop does not have any exit blocks.
-  bool hasNoExitBlocks() const;
-
   /// Edge type.
   using Edge = std::pair<BlockT *, BlockT *>;
----------------
MaskRay wrote:

removed

https://github.com/llvm/llvm-project/pull/210653


More information about the llvm-commits mailing list