vx-lang / vx-lang/Vx

Enable `-O3` LLVM IR optimization pipeline natively in JIT driver

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

Nobody has claimed this yet.

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

Description

Currently, vxc --run or vxc --execute executes MLIR directly through the LLVM lli interpreter without passing it through standard LLVM optimization (opt). We need to wire the MLIR get_optimization_pipeline and opt -O3 into jit::execute_mlir to properly measure kernel fusion overhead and benchmark performance.

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 tracing vxc --run and --execute into jit::execute_mlir, then read how get_optimization_pipeline and the LLVM lli and opt -O3 paths are currently used. Confirm the existing execution and benchmarking behavior first; done means the JIT execution path applies the requested optimization pipeline so kernel-fusion overhead and performance can be measured.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.