Skip to content

Add type interface for plaintexts#2870

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_896758869
Apr 9, 2026
Merged

Add type interface for plaintexts#2870
copybara-service[bot] merged 1 commit into
mainfrom
test_896758869

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Add type interface for plaintexts

The dynamic rotation analysis needs to support propagating dataflow through unknown operations in order to keep the IR connected, and some ops that break this in the e2e matvec example include the results of encoded plaintexts. To identify these without having to depend on all the dialects in the RotationAnalysis, this change adds a PlaintextTypeInterface and attaches it to the LWE plaintext type and exit dialect plaintexts.

@copybara-service copybara-service Bot force-pushed the test_896758869 branch 2 times, most recently from 91e5ca8 to b73a538 Compare April 9, 2026 16:17
The dynamic rotation analysis needs to support propagating dataflow through unknown operations in order to keep the IR connected, and some ops that break this in the e2e matvec example include the results of encoded plaintexts. To identify these without having to depend on all the dialects in the RotationAnalysis, this change adds a PlaintextTypeInterface and attaches it to the LWE plaintext type and exit dialect plaintexts.

PiperOrigin-RevId: 897179803
@copybara-service copybara-service Bot merged commit ef2cbdc into main Apr 9, 2026
@copybara-service copybara-service Bot deleted the test_896758869 branch April 9, 2026 17:25
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