Skip to content

[core] Fix issues with lowering to value semantics.#4285

Merged
schweitzpgi merged 4 commits intoNVIDIA:mainfrom
schweitzpgi:ch-value.bugfix
Apr 10, 2026
Merged

[core] Fix issues with lowering to value semantics.#4285
schweitzpgi merged 4 commits intoNVIDIA:mainfrom
schweitzpgi:ch-value.bugfix

Conversation

@schweitzpgi
Copy link
Copy Markdown
Collaborator

Fix various bugs and issues so that one can add memtoreg just prior to conversion to the QIR API and generate correct code. With these changes all target tests (end-to-end) pass. The memtoreg passes are DISABLED by default.

github-actions Bot pushed a commit that referenced this pull request Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Copy link
Copy Markdown
Collaborator

@sacpis sacpis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Thanks @schweitzpgi. Few questions and comments.

Comment thread lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp Outdated
Comment thread lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp Outdated
Comment thread lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp Outdated
Comment thread lib/Optimizer/CodeGen/ConvertToQIRAPI.cpp
Fix various bugs and issues so that one can add memtoreg just
prior to conversion to the QIR API and generate correct code.
With these changes all target tests (end-to-end) pass. The
memtoreg passes are DISABLED by default.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
github-actions Bot pushed a commit that referenced this pull request Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@schweitzpgi schweitzpgi added this pull request to the merge queue Apr 9, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 9, 2026
@mitchdz mitchdz enabled auto-merge April 10, 2026 03:46
github-actions Bot pushed a commit that referenced this pull request Apr 10, 2026
@github-actions
Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@mitchdz mitchdz added this pull request to the merge queue Apr 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 10, 2026
@schweitzpgi schweitzpgi added this pull request to the merge queue Apr 10, 2026
Merged via the queue into NVIDIA:main with commit cf6b8d1 Apr 10, 2026
240 of 242 checks passed
@schweitzpgi schweitzpgi deleted the ch-value.bugfix branch April 10, 2026 15:11
github-actions Bot pushed a commit that referenced this pull request Apr 10, 2026
mitchdz added a commit to mitchdz/cuda-quantum that referenced this pull request Apr 15, 2026
Fix various bugs and issues so that one can add memtoreg just prior to
conversion to the QIR API and generate correct code. With these changes
all target tests (end-to-end) pass. The memtoreg passes are DISABLED by
default.

---------

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: Mitchell <mitch_dz@hotmail.com>
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