opencompl / opencompl/veir

Support op::create(rewriter, <args>) style builders

Open
#1,114 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Lean
Stars
109
Forks
32
Avg merge
1d 1h
Merged PRs (30d)
155

Description

One of the nicest Quality of Life improvements in MLIR has been the introduction of op::create builders that (unlike rewriter.create(...)) work with IDE autocomplete/etc, and also produce useful error messages instead of obscure template stuff.

Veir should have these for all ops, too. In an ideal world, they're somehow auto-generated, but even having to hand-write them would be better than not having them :)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the existing op::create and rewriter.create(...) builder definitions, then inventory how operations are defined. Done means every operation supports the requested op::create(rewriter, ) style with useful errors and IDE-friendly arguments.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.