Skip to content

Shankara/llzk to pcl pass#209

Merged
shankarapailoor merged 19 commits intomainfrom
shankara/llzk-to-pcl-pass
Nov 12, 2025
Merged

Shankara/llzk to pcl pass#209
shankarapailoor merged 19 commits intomainfrom
shankara/llzk-to-pcl-pass

Conversation

@shankarapailoor
Copy link
Contributor

@shankarapailoor shankarapailoor commented Nov 7, 2025

A basic pass to convert LLZK -> PCL. It should work on the majority of the SP1 benchmarks -- the only ops we don't handle are lookup constraints. I need to update PCL-MLIR to include those lookups.

@shankarapailoor shankarapailoor requested a review from a team November 7, 2025 18:36
Copy link
Contributor

@iangneal iangneal left a comment

Choose a reason for hiding this comment

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

Handful of nits and comments but overall LGTM, pretty straightforward and easy to read.

@shankarapailoor
Copy link
Contributor Author

@iangneal Feel free to do another pass. I added both failing and some more passing tests

Copy link
Contributor

@iangneal iangneal left a comment

Choose a reason for hiding this comment

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

LGTM, just one more comment

Copy link
Contributor

@0xddom 0xddom left a comment

Choose a reason for hiding this comment

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

Some comments and questions. The general logic lgtm tho I think we are missing more TODOs than just calls

Copy link
Contributor

@0xddom 0xddom left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@tim-hoffman tim-hoffman left a comment

Choose a reason for hiding this comment

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

just one more thing

Comment on lines +4 to +8
# Grab all .cpp, but EXCLUDE the PCL file from the base set.
file(GLOB LLZKTransforms_SOURCES "*.cpp")


# Add the PCL lowering .cpp only when enabled.
Copy link
Member

Choose a reason for hiding this comment

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

update the comments and remove the extra blank line

Copy link
Contributor

@0xddom 0xddom left a comment

Choose a reason for hiding this comment

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

lgtm

@shankarapailoor shankarapailoor merged commit 70a92fb into main Nov 12, 2025
10 checks passed
@shankarapailoor shankarapailoor deleted the shankara/llzk-to-pcl-pass branch November 12, 2025 16:45
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.

4 participants