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

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 08:07:57 PDT 2025


================
@@ -1430,6 +1558,10 @@ class LowerMatrixIntrinsics {
       if (ShapeMap.contains(U.getUser()))
         continue;
 
+      if (auto *Intr = dyn_cast<IntrinsicInst>(U.getUser()))
+        if (tryLowerIntrinsic(Intr))
----------------
jroelofs wrote:

ooh nice idea. that works out nicely.

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


More information about the llvm-commits mailing list