[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:10:02 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))
----------------
fhahn wrote:
This is done here because we don't have shape info for those. Wondering if it would be possible/cleaner to set shape info for them to 1x1?
https://github.com/llvm/llvm-project/pull/142055
More information about the llvm-commits
mailing list