Skip to content

Conversation

swernli
Copy link
Collaborator

@swernli swernli commented Apr 29, 2025

This change updates the handling for intrinsic generation such that any of the supported dynamic types for QIR generation (specifically Bool, Int, and Double in the matching profiles) can be returned from intrinsic callables. These were already correctly handled and analyzed from Runtime Capabilities Analysis, so all that was missing was support during partial evaluation and RIR generation.

image

This change updates the handling for intrinsic generation such that any of the supported dynamic types for QIR generation (specifically `Bool`, `Int`, and `Double` in the matching profiles) can be returned from intrinsic callables. These were already correctly handled and analyzed from Runtime Capabilities Analysis, so all that was missing was support during partial evaluation and RIR generation.
@swernli swernli added this pull request to the merge queue May 6, 2025
Merged via the queue into main with commit 36215c2 May 6, 2025
18 checks passed
@swernli swernli deleted the swernli/intrinsic-return-values branch May 6, 2025 23:33
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.

3 participants