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

[Bugfix][Transform] Keep private non-primitive functions in FuseTIR #16565

Commits on Feb 13, 2024

  1. [Bugfix][Transform] Keep private non-primitive functions in FuseTIR

    Prior to this commit, private non-primitive relax functions would be
    discarded by `FuseTIR`.  If any calls to these functions exist, the
    resulting `IRModule` would be ill-formed.  This commit updates
    `FuseTIR` so that it only applies updates to functions with
    `attr::kPrimitive`, and calls into those functions.
    
    To retain backwards compatibility, `DeadCodeElimination` is applied as
    a post-processing step.
    Lunderberg committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    2d69046 View commit details
    Browse the repository at this point in the history