3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-13 17:41:17 +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 b612c1bb39
commit 619f49eabe

View file

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