• Lei Wang's avatar
    [Pipeline] Phaseout fragment and double buffer info from pipeline pass (#711) · 49d5d80e
    Lei Wang authored
    * Update submodule 'tvm' to commit e11521e6936a827efa334588d29571fbb4620107
    
    * Refactor inject_pipeline.cc to enhance pipeline body rewriting and condition handling
    
    - Introduced a new function to replace IfThenElse nodes with their then_case while preserving attributes.
    - Streamlined the PipelineBodyRewriter to improve buffer access rewriting and async state management.
    - Enhanced the handling of pipeline loop conditions and added support for predicate conditions in the pipeline body.
    - Removed obsolete code and improved overall code clarity and maintainability.
    
    * lint fix
    
    * Refactor return statements in inject_pipeline.cc to remove unnecessary std::move calls
    
    - Updated return statements in multiple methods to return objects directly instead of using std::move, improving code clarity and potentially avoiding unnecessary moves.
    - Ensured consistent handling of BufferStore and BufferLoad nodes during pipeline transformations.
    
    * test fix
    49d5d80e
inject_pipeline.cc 38 KB