[llvm] [LoopVectorize] Use new getUniqueLatchExitBlock routine (PR #108231)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 13:43:09 PST 2024


================
@@ -294,6 +294,10 @@ 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.
----------------
fhahn wrote:

or the latch is not exiting?

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


More information about the llvm-commits mailing list