Skip to content
Snippets Groups Projects
  • Erwan Jahier's avatar
    d783b03e
    Add a --optimize-ite/-oite option that transforms if/then/else into merge when possible. · d783b03e
    Erwan Jahier authored
    Indeed it is possible when each branch of the ite updates no memory.
    This is done in the new L2lOptimIte module.
    
    For the time being, it does detect when the node has no memory. It
    only looks at the declaration: nodes have memory, and not functions.
    
    I should infer that information and raise warnings or errors if what
    I infer is not compatible with waht is declared (will come later).
    
    Also split ActionsDep into ActionsDep and Action.
    
    Also fix a bug in L2lsplit where deeply nested (>2) merge were not
    splitted.
    d783b03e
    History
    Add a --optimize-ite/-oite option that transforms if/then/else into merge when possible.
    Erwan Jahier authored
    Indeed it is possible when each branch of the ite updates no memory.
    This is done in the new L2lOptimIte module.
    
    For the time being, it does detect when the node has no memory. It
    only looks at the declaration: nodes have memory, and not functions.
    
    I should infer that information and raise warnings or errors if what
    I infer is not compatible with waht is declared (will come later).
    
    Also split ActionsDep into ActionsDep and Action.
    
    Also fix a bug in L2lsplit where deeply nested (>2) merge were not
    splitted.