[llvm] [Matrix] Lower vector reductions using shape info (PR #142055)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 04:11:39 PDT 2025


================
@@ -440,6 +442,10 @@ class LowerMatrixIntrinsics {
       return make_range(Vectors.begin(), Vectors.end());
     }
 
+    iterator_range<SmallVector<Value *, 8>::const_iterator> vectors() const {
----------------
fhahn wrote:

Are the non-const variants of the iterator actually needed or can all current users be served by the `const` one?

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


More information about the llvm-commits mailing list