Skip to content

Commit 056f813

Browse files
committed
rsz: restore "Legalize the buffer position" comment
Lost in the fold-into-postProcess refactor; restore it above each insertBufferPostProcess() call site for readability. Signed-off-by: minjukim55 <mkim@precisioninno.com>
1 parent 05862d1 commit 056f813

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/rsz/src/Resizer.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4906,6 +4906,7 @@ odb::dbInst* Resizer::insertBufferAfterDriver(
49064906
return nullptr;
49074907
}
49084908

4909+
// Legalize the buffer position and update the design area
49094910
insertBufferPostProcess(buffer_inst, loc);
49104911

49114912
return buffer_inst;
@@ -4995,6 +4996,7 @@ odb::dbInst* Resizer::insertBufferBeforeLoad(
49954996
return nullptr;
49964997
}
49974998

4999+
// Legalize the buffer position and update the design area
49985000
insertBufferPostProcess(buffer_inst, loc);
49995001

50005002
return buffer_inst;
@@ -5117,6 +5119,7 @@ odb::dbInst* Resizer::insertBufferBeforeLoads(
51175119
return nullptr;
51185120
}
51195121

5122+
// Legalize the buffer position and update the design area
51205123
insertBufferPostProcess(buffer_inst, loc);
51215124

51225125
return buffer_inst;

0 commit comments

Comments
 (0)