Skip to content

Don't outline splat constants by default. #6815

Closed

Description

@benvanik

Today we outline all large constants based on their storage size and not their logical size. This means that splats almost always get outlined and initialized on startup thus increasing fixed memory consumption. This also causes follow-on badness where a mutable single-use constant splat becomes immutable and needs to be cloned before being used.

We should aggressively unique splat constants and keep them as command buffer operations.

Activity

  1. added
    compiler/dialects
    performance ⚡
    on Aug 20, 2021
  2. self-assigned this
    on Aug 20, 2021
  3. added 6 commits that reference this issue on Aug 20, 2021
    97f86da
    b44ae35
    97eec73
    eb01cd3
    8dfe4ef
    6f0cbaa
  4. added 2 commits that reference this issue on Oct 20, 2021
    0052573
    1018269
  5. added a commit that references this issue on Oct 20, 2021
    cc4f173
  6. added a commit that references this issue on Oct 21, 2021
    d94d640
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

compiler/dialectsperformance ⚡

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions