Skip to content

Commit

Permalink
Fixing BackendPipelineMain
Browse files Browse the repository at this point in the history
  • Loading branch information
avishek-sen-gupta committed Nov 4, 2024
1 parent a94c260 commit 3e5248e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ LanguageDialect.IDMS, new FullProgram(FlowchartOutputFormat.MERMAID), new UUIDPr
Graph<TranspilerInstruction, DefaultEdge> instructionFlowgraph = transpilerFlowgraph.instructionFlowgraph();
PruneUnreachableTask.pruneUnreachableInstructions(transpilerFlowgraph);
TranspilerNode tree = transpilerFlowgraph.transpilerTree();
Pair<Set<NaturalLoopBody<TranspilerInstruction>>, Set<Set<TranspilerInstruction>>> loopBodies = new LoopBodyDetectionTask<>(transpilerFlowgraph.instructions().getFirst(),
Pair<Set<NaturalLoopBody<TranspilerInstruction>>, Set<NaturalLoopBody<TranspilerInstruction>>> loopBodies = new LoopBodyDetectionTask<>(transpilerFlowgraph.instructions().getFirst(),
transpilerFlowgraph.instructionFlowgraph(), DefaultEdge.class, CloneEdgeOperation::cloneEdge).run();
Set<NaturalLoopBody<TranspilerInstruction>> reducibleLoopBodies = loopBodies.getLeft();
Set<Set<TranspilerInstruction>> irrreducibleLoopBodies = loopBodies.getRight();
Set<NaturalLoopBody<TranspilerInstruction>> irrreducibleLoopBodies = loopBodies.getRight();
System.out.println("Reducible loop bodies = " + reducibleLoopBodies.size());
System.out.println("irreducible loop bodies = " + irrreducibleLoopBodies.size());
reducibleLoopBodies.forEach(loop -> {
Expand Down

0 comments on commit 3e5248e

Please sign in to comment.