Skip to content

Commit

Permalink
Updated AnalysisTest to avoid running processing twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHaas committed Feb 28, 2024
1 parent 8a51a3a commit bfc7ab3
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ private void program0(Alias method, Result... expect) throws InvalidConfiguratio
b.addChild(0, e3);

Program program = b.build();
Compilation.newInstance().run(program);
LoopUnrolling.newInstance().run(program);
MemoryAllocation.newInstance().run(program);
AliasAnalysis a = analyze(program, method);
MemoryCoreEvent me0 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e0);
MemoryCoreEvent me1 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e1);
Expand Down Expand Up @@ -185,9 +182,6 @@ private void program1(Alias method, Result... expect) throws InvalidConfiguratio
b.addChild(0, e3);

Program program = b.build();
Compilation.newInstance().run(program);
LoopUnrolling.newInstance().run(program);
MemoryAllocation.newInstance().run(program);
AliasAnalysis a = analyze(program, method);
MemoryCoreEvent me0 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e0);
MemoryCoreEvent me1 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e1);
Expand Down Expand Up @@ -244,9 +238,6 @@ private void program2(Alias method, Result... expect) throws InvalidConfiguratio
b.addChild(0, l0);

Program program = b.build();
Compilation.newInstance().run(program);
LoopUnrolling.newInstance().run(program);
MemoryAllocation.newInstance().run(program);
AliasAnalysis a = analyze(program, method);
MemoryCoreEvent me0 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e0);
MemoryCoreEvent me1 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e1);
Expand Down Expand Up @@ -293,9 +284,6 @@ private void program3(Alias method, Result... expect) throws InvalidConfiguratio
b.addChild(0, e3);

Program program = b.build();
Compilation.newInstance().run(program);
LoopUnrolling.newInstance().run(program);
MemoryAllocation.newInstance().run(program);
AliasAnalysis a = analyze(program, method);
MemoryCoreEvent me0 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e0);
MemoryCoreEvent me1 = (MemoryCoreEvent) findMatchingEventAfterProcessing(program, e1);
Expand Down

0 comments on commit bfc7ab3

Please sign in to comment.