Skip to content

rsz: Rename SizeDownMove to SizeDownFanoutMove#10433

Open
erendn wants to merge 5 commits into
The-OpenROAD-Project:masterfrom
erendn:rename_size_down
Open

rsz: Rename SizeDownMove to SizeDownFanoutMove#10433
erendn wants to merge 5 commits into
The-OpenROAD-Project:masterfrom
erendn:rename_size_down

Conversation

@erendn
Copy link
Copy Markdown
Contributor

@erendn erendn commented May 14, 2026

Summary

Renames SizeDownMove to avoid confusion. There should still also be a SizeDownMove implementation but it should only down size the driver gate, not its fanout.

Type of Change

  • Refactoring

Impact

The PR shouldn't change any behavior.

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have signed my commits (DCO).

@erendn erendn requested a review from a team as a code owner May 14, 2026 21:49
@erendn erendn requested a review from povik May 14, 2026 21:49
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request renames the "SizeDown" optimization move to "ReduceLoad" throughout the rsz package. The changes encompass file renames, documentation updates, modifications to core C++ logic, and adjustments to the Tcl/Python interfaces and test suite. The review feedback identifies several internal log and debug messages that still use the old terminology and provides code suggestions to update them for consistency with the new naming convention.

Comment thread src/rsz/src/move/SizeDownFanoutGenerator.cc
Comment thread src/rsz/src/move/SizeDownFanoutGenerator.cc
Comment thread src/rsz/src/move/ReduceLoadGenerator.cc Outdated
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Eren Dogan <erendogan@google.com>
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty
Copy link
Copy Markdown
Member

There are a variety of ways to reduce load. Split load is reducing load for example. DownsizeFanout would be more specific.

@erendn
Copy link
Copy Markdown
Contributor Author

erendn commented May 20, 2026

Then, I think SizeDownFanout will be better (to match SizeUp moves' names). I will update this PR accordingly.

Signed-off-by: Eren Dogan <erendogan@google.com>
@erendn erendn changed the title rsz: Rename SizeDownMove to ReduceLoadMove rsz: Rename SizeDownMove to SizeDownFanoutMove May 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants