Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

[WIP] disaggregate by-value OpTypeStruct/OpTypeArray inputs/outputs.#29

Closed
eddyb wants to merge 18 commits into
mainfrom
disaggregate
Closed

[WIP] disaggregate by-value OpTypeStruct/OpTypeArray inputs/outputs.#29
eddyb wants to merge 18 commits into
mainfrom
disaggregate

Conversation

@eddyb

@eddyb eddyb commented May 9, 2023

Copy link
Copy Markdown
Contributor

This should allow us to always reason about the leaves of "aggregates", without any superfluous nesting - especially relevant to logical pointers, which SPIR-V disallows wrapping in any other data types, and which qptr would prefer to always interact with directly.

TODO:

  • global initializers should have disaggregated leaves for initializers
    • potential compromise: use GlobalVarShape::TypedInterface when an initializer is present
  • longer PR description (add comparison!), and CHANGELOG entry (reuse details from Value docs additions?)

@eddyb eddyb force-pushed the disaggregate branch 3 times, most recently from e572cb3 to 46e9123 Compare June 24, 2023 11:30
@eddyb eddyb force-pushed the disaggregate branch 2 times, most recently from 124b0cf to becf30c Compare October 6, 2023 23:12
@eddyb eddyb force-pushed the disaggregate branch 3 times, most recently from 7b60637 to 11cd6f7 Compare October 27, 2023 16:51
github-merge-queue Bot pushed a commit that referenced this pull request Oct 27, 2023
…d`/`ConstKind`. (#51)

The "constructor" idea was cute, but a mistake. At the end of the day
(see #1, #50, #29), the direction to move into is simpler and/or flatter
types and constants, *not* favoring the hierarchical ones.
@eddyb eddyb force-pushed the disaggregate branch 4 times, most recently from 07ca42b to f4464b3 Compare November 5, 2023 00:22
@eddyb eddyb force-pushed the disaggregate branch 3 times, most recently from 2f1acf8 to 9939ddb Compare November 8, 2023 05:38
@eddyb eddyb force-pushed the disaggregate branch 2 times, most recently from a0a887f to 7615c90 Compare January 31, 2024 14:19
@eddyb

eddyb commented Apr 27, 2026

Copy link
Copy Markdown
Contributor Author

@eddyb eddyb closed this Apr 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant