vx-lang / vx-lang/Vx

Wire the IR Emission (`codegen.rs`)

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

codegen enhancement
Dominant language
Rust
Stars
14
Forks
2
Avg merge
12h 42m
Merged PRs (30d)
61

Description

Update src/codegen.rs to group topological boundaries into regions that can be delegated to plugins.

Sub-tasks

  • Map spawn on blocks into MLIR scf.execute_region operations.
  • Inside these blocks, ensure standard math calls map correctly to linalg operations.
  • Implement extraction logic (extract_topology_block) to extract these regions for hardware plugins.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/codegen.rs and locating the existing topology and IR emission paths. Trace how spawn on blocks and standard math calls are currently handled, then inspect the expected responsibilities of extract_topology_block. Done means the three listed subtasks are implemented: execute_region mapping, linalg math mapping, and plugin-region extraction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.