[llvm] [LoopVectorize] Add support for vectorisation of more early exit loops (PR #88385)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 02:06:41 PDT 2024


================
@@ -653,7 +659,24 @@ class LoopAccessInfo {
   bool isInvariant(Value *V) const;
 
   unsigned getNumStores() const { return NumStores; }
-  unsigned getNumLoads() const { return NumLoads;}
+  unsigned getNumLoads() const { return NumLoads; }
----------------
david-arm wrote:

Not sure what you mean. 'getNumLoads' is already used by LoopVectorizationLegality without this patch. This change has appeared due to automatic formatting of the code.

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


More information about the llvm-commits mailing list