llvm / llvm/circt

[reduce] Add op/dialect interfaces for providing reductions

Open
#3,486 0 comments 1 reaction 0 assignees View on GitHub
Reducer
Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

Add an interface for dialects and operations to provide reduction patterns. As a first step these should probably be just simple lists of reduction patterns, but at a later point could be more elaborate, like operations being able to offer multiple, fine-grained reductions based on the circumstances of that operation.

This might eventually be something to upstream into MLIR proper.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, entry points, or tests. Start by locating existing reduction patterns and the interfaces used by CIRCT dialects and operations, then determine how a simple pattern-list API could be scoped; done means the design is agreed and the interface is implemented with coverage for the relevant providers.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.