[llvm] [LV] Vectorize histogram operations (PR #99851)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 00:28:31 PDT 2024


================
@@ -438,6 +466,11 @@ class LoopVectorizationLegality {
   /// Returns true if the loop is vectorizable
   bool canVectorizeMemory();
 
+  /// If LAA cannot determine whether all dependences are safe, we may be able
+  /// to further analyse some unknown dependences and if they match a certain
----------------
fhahn wrote:

There was a recent LAA fix, and the dependences should now be classified as `IndirectUnsafe` I think. Would be good to update the comment

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


More information about the llvm-commits mailing list