[Transforms] Apply buffer-loop-hoisting after materialize-reduction in scalehls-dse-pipeline

This commit is contained in:
Hanchen Ye 2022-05-12 17:27:25 -05:00 committed by GitHub
parent 4acb879583
commit 0f9627a9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ void scalehls::registerScaleHLSDSEPipeline() {
// Legalize the input program.
pm.addPass(scalehls::createFuncPreprocessPass(opts.hlsTopFunc));
pm.addPass(scalehls::createMaterializeReductionPass());
pm.addPass(bufferization::createBufferLoopHoistingPass());
// Apply the automatic design space exploration to the top function.
pm.addPass(scalehls::createDesignSpaceExplorePass(opts.dseTargetSpec));