smithery.ai

reussir-mlir

Run MLIR conversions and translations.

First seen Mar 23, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMPL-2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,275 B
  • docs SUMMARY.md 58 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

You can examine individual MLIR backend passes and their effects on the IR using reussir-opt.

It can be built using ninja reussir-opt in the build directory. The executable is under build/bin.

To convert MLIR to LLVM IR, use reussir-translate --reussir-to-llvmir. The tool is also under build/bin and it can be built in the same way.

To run the full pipeline and compile the final code, you can use somthing like the following:

reussir-opt <input-file> \
 --reussir-token-instantiation \
 --reussir-closure-outlining \
 --reussir-lowering-region-patterns \
 --reussir-inc-dec-cancellation \
 --reussir-rc-decrement-expansion \
 --reussir-infer-variant-tag \
 --reussir-acquire-drop-expansion \
 --reussir-convert-to-std \
 --reussir-inc-dec-cancellation \
 --reussir-acquire-drop-expansion='expand-decrement=1 outline-record=1' \
 --reussir-token-reuse \
 --reussir-convert-to-std \
 --reussir-compile-polymorphic-ffi \
 --convert-scf-to-cf \
 | \
reussir-translate \
 --reussir-to-llvmir | \
opt -O3 |\
llc -relocation-model=pic -filetype=obj -o <output-file>

For each pass's meaning, examine include/Reussir/Conversion/Passes.td for more details.