# banach-space/llvm-tutor

A collection of out-of-tree LLVM passes for teaching and learning

Repository: https://github.com/banach-space/llvm-tutor
Canonical: https://ross.abutalabs.com/products/llvm-tutor
Language: C++
License: MIT
License Family: permissive
Topics: llvm-pass, llvm-tutor, llvm-ir, llvm-tutorial, llvm-plugins, compilers, llvm, tutorial
Last push: 2026-05-17T16:51:29+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 82, release rhythm 35, longevity 100
- inputs: {"age_days": 2718, "days_push": 108, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3425, forks 450 (observed 2026-08-28T04:08:03.922879+00:00)

## What it is
A collection of self-contained, out-of-tree LLVM passes that serve as a tutorial for learning LLVM development. It builds against a binary LLVM installation and includes CMake scripts, LIT tests, CI setup, and documentation, updated with every LLVM release.

## Use cases
- learn how to write LLVM passes
- tutorial for llvm ir transformations
- example out-of-tree llvm pass with cmake
- get started with llvm plugin development
- reference examples for llvm optimization passes
- learn compiler internals with llvm

## When to choose
- you are a novice wanting to learn LLVM pass development step by step
- you want modern, up-to-date examples matching the latest LLVM release
- you need complete, testable reference passes with build scripts and CI

## When to avoid
- you need a production compiler framework rather than teaching examples
- you want Clang-level tooling rather than LLVM IR passes
- you need an older LLVM version that the tutorial no longer targets

## Facets
- artifact type: learning-resource
- maturity: active
- function: compiler, developer-tools, documentation, testing
- domain: compilers, tutorials, developer-tools, education
- platform: cpp, cross-platform, cli
- tags: llvm, llvm-passes, llvm-ir, compiler-plugins, out-of-tree-passes, tutorial, cmake, lit-tests, linux, macos

## Member repositories
- banach-space/llvm-tutor (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:03.922879+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:38:04.053637+00:00, confidence not recorded.
  - readme: https://github.com/banach-space/llvm-tutor (fetched 2026-08-28T04:08:03.922879+00:00, sha 6c70465d4ab4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
