[Transforms] Apply buffer-loop-hoisting after materialize-reduction in scalehls-dse-pipeline
This commit is contained in:
parent
4acb879583
commit
0f9627a9f2
|
@ -45,6 +45,7 @@ void scalehls::registerScaleHLSDSEPipeline() {
|
||||||
// Legalize the input program.
|
// Legalize the input program.
|
||||||
pm.addPass(scalehls::createFuncPreprocessPass(opts.hlsTopFunc));
|
pm.addPass(scalehls::createFuncPreprocessPass(opts.hlsTopFunc));
|
||||||
pm.addPass(scalehls::createMaterializeReductionPass());
|
pm.addPass(scalehls::createMaterializeReductionPass());
|
||||||
|
pm.addPass(bufferization::createBufferLoopHoistingPass());
|
||||||
|
|
||||||
// Apply the automatic design space exploration to the top function.
|
// Apply the automatic design space exploration to the top function.
|
||||||
pm.addPass(scalehls::createDesignSpaceExplorePass(opts.dseTargetSpec));
|
pm.addPass(scalehls::createDesignSpaceExplorePass(opts.dseTargetSpec));
|
||||||
|
|
Loading…
Reference in New Issue