Skip to content

Fix mig_inv_propagation crash when PO is a complement of constant or PI#694

Merged
MyskYko merged 1 commit into
lsils:masterfrom
uenoku:dev/hidetou/fix-mig-inv
Jun 12, 2026
Merged

Fix mig_inv_propagation crash when PO is a complement of constant or PI#694
MyskYko merged 1 commit into
lsils:masterfrom
uenoku:dev/hidetou/fix-mig-inv

Conversation

@uenoku

@uenoku uenoku commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

This commit fixes an issue that PO is a complement of constant or PI. Actually in propagate_helper handled the propagation properly, so simply inserted the same condition ntk.is_constant(...) || ntk.is_pi(...).

Fix #693.

This commit fixes an issue that PO is a complement of constant or
PI. Actually in `propagate_helper` it is properly handled, so
simply followed the same condition
@codecov

codecov Bot commented Jun 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.22%. Comparing base (fa8513a) to head (c74268e).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #694      +/-   ##
==========================================
+ Coverage   83.83%   84.22%   +0.39%     
==========================================
  Files         189      189              
  Lines       29888    29074     -814     
==========================================
- Hits        25056    24487     -569     
+ Misses       4832     4587     -245     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MyskYko

MyskYko commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

@MyskYko MyskYko merged commit 22786e2 into lsils:master Jun 12, 2026
18 checks passed
@uenoku

uenoku commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for the review! 🙇

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.

mig_inv_propagation crashes if PO is connected to a complement of PI

2 participants