Module cairo_lang_lowering::optimizations
source · Modules§
- Remove unnecessary remapping of variables optimization. At each convergence, we have one or more branches with remappings of variables. A destination variable
destintroduced by the remappings must be remapped at every branchb_iby mapping a source variablesrc_i->dest. We require that every use ofdestrefers to the correctsrc_i. This means that the remappings todestare not necessary in these cases: