[llvm] [SLP]Improve masked loads vectorization, attempting gathered loads (PR #110151)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 09:25:31 PDT 2024


================
@@ -3614,6 +3616,13 @@ class BoUpSLP {
       DenseMap<Value *, SmallPtrSet<const TreeEntry *, 4>>;
   ValueToGatherNodesMap ValueToGatherNodes;
 
+  /// A list of the loads, which can be vectorized using strided or masked
+  /// gather approach, but attempted to be represented as contiguous loads.
+  SetVector<unsigned> LoadEntriesToVectorize;
----------------
alexey-bataev wrote:

Fixed comment, describing the container

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


More information about the llvm-commits mailing list