pub fn compile_program(
    program: &SirProgram,
    conf: &mut ParsedConf,
    stats: &mut CompilationStats,
) -> WeldResult<CompiledModule> {
    let runnable = llvm2::compile(&program, conf, stats)?;
    let result = CompiledModule { runnable };
    Ok(result)
}
Compile a Weld SIR program with a given configuration.

This function dispatches to the backend specified in `conf` to generate a compiled, runnable
module. Statistics about compilation (e.g., time to generate code) are written into `stats`. If
the `dumpCode` option is enabled, code is dumped to a filename `code-<timestamp>.[ll|S].
weld/src/codegen/mod.rs