Skip to content

Update constant folding constraint: only support one constant operand folding for a given operation#181

Merged
tancheng merged 2 commits intocoredac:mainfrom
YanzhouTang:render
Oct 30, 2025
Merged

Update constant folding constraint: only support one constant operand folding for a given operation#181
tancheng merged 2 commits intocoredac:mainfrom
YanzhouTang:render

Conversation

@YanzhouTang
Copy link
Copy Markdown
Collaborator

As we discuss in #178, our current RTL design only support one constant operand folding for a given operation.

So if there is an op requires 3 (or more) operands, and 2 (or more) of them are constant, we can only fold 1.

@YanzhouTang YanzhouTang requested a review from tancheng October 29, 2025 17:45
@YanzhouTang YanzhouTang self-assigned this Oct 29, 2025
@YanzhouTang YanzhouTang added the enhancement New feature or request label Oct 29, 2025
@tancheng tancheng linked an issue Oct 29, 2025 that may be closed by this pull request
@tancheng tancheng merged commit a128252 into coredac:main Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P1] Fuse constant into dependent ops

2 participants