[llvm] [SandboxVectorizer] New class to actually collect and manage seeds (PR #112979)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 14:10:03 PDT 2024


================
@@ -60,6 +60,16 @@ class Utils {
         getUnderlyingObject(LSI->getPointerOperand()->Val));
   }
 
+  /// \Returns the number of elements in \p Ty, that is the number of lanes
----------------
vporpo wrote:

We should probably move both functions to `llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h` because they will most likely be used just by the vectorizer.

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


More information about the llvm-commits mailing list