Skip to main content

wave_compiler/lowering/
mod.rs

1// Copyright 2026 Ojima Abraham
2// SPDX-License-Identifier: Apache-2.0
3
4//! IR lowering passes: HIR→MIR and MIR→LIR.
5//!
6//! These passes transform between the compiler's intermediate representations,
7//! flattening structured control flow and performing instruction selection.
8
9pub mod hir_to_mir;
10pub mod mir_to_lir;
11
12pub use hir_to_mir::lower_kernel;
13pub use mir_to_lir::lower_function;