Skip to content

Code-cleanup - #1

Merged
ai-mannamalai merged 14 commits into
mainfrom
ma-code-cleanup
Jan 28, 2026
Merged

ai-mannamalai merged 14 commits into
mainfrom
ma-code-cleanup

Conversation

@ai-mannamalai

Copy link
Copy Markdown
Owner

Code-cleanup

WoutLegiest and others added 14 commits January 9, 2026 13:28
Working 4lut impl

Updated tests

Update Emitter

Update Emitter

Working mode Lut3, Lut4 selector

Correct generation of LWE Types
PiperOrigin-RevId: 860327446
This fixes a failure to  legalize func.call operations which happens with the new external preprocessing calls. These just need to have the input/output types converted, and aren't covered by the existing patterns that were meant to handle func.calls inside generic bodies.

PiperOrigin-RevId: 861351446
But like google#1207 - this should be computed earlier in the pipeline

PiperOrigin-RevId: 861361804
…ings

This will offload the tensor_ext.assign_layout code into new functions, which are de-duped by the layout attribute for the layout assign (and the input/output type - it's slightly redundant, but handles the case where different data types but same shapes are encoded).

Note: we don't offload simple layout assignments that result in things like tensor.splat or tensor.empty()
PiperOrigin-RevId: 861390799
@ai-mannamalai
ai-mannamalai merged commit 7eaae2c into main Jan 28, 2026
2 of 5 checks passed
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.

6 participants