Skip to content

Commit

Permalink
Reorder dataflow to be earlier in fixed-point pipeline
Browse files Browse the repository at this point in the history
Dataflow is capable of making large simplifications so its good to have it earlier if we can.

PiperOrigin-RevId: 698542726
  • Loading branch information
allight authored and copybara-github committed Nov 20, 2024
1 parent 4f09df4 commit 56ed926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xls/passes/optimization_pass_pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ void AddSimplificationPasses(OptimizationCompoundPass& pass) {
pass.Add<DeadCodeEliminationPass>();
pass.Add<SelectSimplificationPass>();
pass.Add<DeadCodeEliminationPass>();
pass.Add<DataflowSimplificationPass>();
pass.Add<DeadCodeEliminationPass>();
pass.Add<LutConversionPass>();
pass.Add<DeadCodeEliminationPass>();
pass.Add<ConditionalSpecializationPass>(/*use_bdd=*/false);
Expand Down

0 comments on commit 56ed926

Please sign in to comment.