3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-03 13:07:58 +00:00

Remove unnecessary pack() from SigSpec::extend_u0()

This commit is contained in:
Robert O'Callahan 2025-10-30 13:42:53 +00:00
parent d314c47a55
commit dbb8354996

View file

@ -5251,8 +5251,6 @@ void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
{
cover("kernel.rtlil.sigspec.extend_u0");
pack();
if (width_ > width)
remove(width, width_ - width);