Skip to content

Allow dynamic constant values to coerce to static across callable boundaries in RCA - #3502

Open
Stefan J. Wernli (swernli) wants to merge 3 commits into
mainfrom
swernli/rca-coerce-dynamic-constant
Open

Allow dynamic constant values to coerce to static across callable boundaries in RCA#3502
Stefan J. Wernli (swernli) wants to merge 3 commits into
mainfrom
swernli/rca-coerce-dynamic-constant

Conversation

@swernli

Copy link
Copy Markdown
Contributor

This adds functionality to RCA that coerces some dynamic constants into static during calculation of callable arguments, mimicking functionality added to partial eval in #3491. This allows APIs like Std.TableLookup.Select to pass RCA, but notably only fixes generation of body implementation; calls to Adjoint Select invoke a code path that passes RCA but fails in partial eval due to missing support for emitting arrays with dynamic contents into QIR.

…ndaries in RCA

This adds functionality to RCA that coerces some dynamic constants into static during calculation of callable arguments, mimicking functionality added to partial eval in #3491. This allows APIs like `Std.TableLookup.Select` to pass RCA, but notably only fixes generation of body implementation; calls to `Adjoint Select` invoke a code path that passes RCA but fails in partial eval due to missing support for emitting arrays with dynamic contents into QIR.
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.

1 participant