sway_ir::optimize::const_demotion

Function const_demotion

Source
pub fn const_demotion(
    context: &mut Context<'_>,
    _: &AnalysisResults,
    function: Function,
) -> Result<bool, IrError>