Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIR] Refactor BlockScope outside schedule #15034

Merged
merged 1 commit into from
Jun 8, 2023

Commits on Jun 6, 2023

  1. [TIR] Refactor BlockScope outside schedule

    This PR does 2 major changes to TIR.
    
    1. Move stage_pipeline member into `BlockInfo` from `BlockScope`
    2. Extract `BlockScope` outside schedule
    
    This is the first step of a change to expose block level dependence
    analysis to TIR passes. This PR moves BlockScope to be outside schedules
    so that it can be used in a follow-up analysis pass to compute block
    level dependences if needed for a transformation pass.
    
    There is some extra discussion about this change in
    [this discussion forum post](https://discuss.tvm.apache.org/t/why-is-block-dependency-info-attached-to-schedules/14975)
    quic-sanirudh committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    a05e5eb View commit details
    Browse the repository at this point in the history