Skip to content

Allow embedding diagnostics into SPIR-T as attributes.#22

Merged
eddyb merged 1 commit intomainfrom
attr-error
Apr 21, 2023
Merged

Allow embedding diagnostics into SPIR-T as attributes.#22
eddyb merged 1 commit intomainfrom
attr-error

Conversation

@eddyb
Copy link
Contributor

@eddyb eddyb commented Feb 24, 2023

This is an easy way to annotate the IR (anything that supports attributes) with diagnostics that would otherwise have a hard time being reported in a way that correlates with the definition they relate to (without a full-on diagnostic system).

Example from an WIP version of #24:
image

@eddyb eddyb self-assigned this Mar 31, 2023
@eddyb eddyb changed the title Allow embedding error messages into SPIR-T as attributes (Attr::Error). Allow embedding diagnostics into SPIR-T as attributes. Apr 21, 2023
@eddyb eddyb marked this pull request as ready for review April 21, 2023 16:34
@eddyb eddyb enabled auto-merge April 21, 2023 16:34
@eddyb eddyb added this pull request to the merge queue Apr 21, 2023
Merged via the queue into main with commit 1ee178d Apr 21, 2023
@eddyb eddyb deleted the attr-error branch April 21, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants