This patch adds support for folding trivial masked reductions and
multi-reductions (e.g., multi-reductions with only parallel dims,
reductions of a single element, etc.). To support those foldings in
a composable way we also add support for folding different flavors of
empty vector.mask opertions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Addressed feedback
mlir/lib/Dialect/Vector/IR/VectorOps.cpp | ||
---|---|---|
372 | Thanks! I have a quite a few castings to remove all over the place now :) |
nit: do you need this cast? The functions should be accessible from MultiDimReductionOp