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

Generalize before propagation #951

Closed

Commits on Aug 9, 2024

  1. Generalize linalg ops earlier

    Allows better pack-unpack propagation by first generalizing linalg
    named ops. This is mainly due to limited support for named ops in
    layout propagation patterns.
    adam-smnk committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    37190f1 View commit details
    Browse the repository at this point in the history
  2. Generalize named ops pass

    Adds a custom wrapper around Linalg named ops generalization.
    
    The custom pattern exposes control over which ops should be
    generalized.
    By default, the pass filters out linalg.fill ops as layout propagation
    and fusion behave better when the named version is present.
    This improves overall IR quality after bufferization.
    adam-smnk committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    2c909e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a74fe5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    001a8b3 View commit details
    Browse the repository at this point in the history
  5. Cleanup generalized adds

    adam-smnk committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    5d40f54 View commit details
    Browse the repository at this point in the history
  6. Fix after rebase

    adam-smnk committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    799d1cc View commit details
    Browse the repository at this point in the history