Skip to main content

canonicalize_binary_operands

Function canonicalize_binary_operands 

Source
pub(crate) fn canonicalize_binary_operands<'tcx, 'body>(
    tcx: TyCtxt<'tcx>,
    local_decls: &'body LocalDecls<'tcx>,
    op: BinOp,
    lhs: &mut Operand<'tcx>,
    rhs: &mut Operand<'tcx>,
) -> bool
Expand description

Canonicalize operands of binary operations. This only canonicalize their ordering for now.