[llvm] [LV][NFC] Refactor structures used to maintain uncountable exit info (PR #123219)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 02:13:38 PST 2025


================
@@ -463,14 +457,11 @@ class LoopVectorizationLegality {
     return CountableExitingBlocks;
   }
 
-  /// Returns all the exiting blocks with an uncountable exit.
-  const SmallVector<BasicBlock *, 4> &getUncountableExitingBlocks() const {
-    return UncountableExitingBlocks;
-  }
-
-  /// Returns all the exit blocks from uncountable exiting blocks.
-  SmallVector<BasicBlock *, 4> getUncountableExitBlocks() const {
-    return UncountableExitBlocks;
+  /// Returns the loop edge with an uncountable exit, or std::nullopt if there
----------------
david-arm wrote:

Done

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


More information about the llvm-commits mailing list