Skip to content

Commit

Permalink
Merge pull request eclipse-omr#7146 from mpirvu/cpu_improv
Browse files Browse the repository at this point in the history
Change cheapGlobalValuePropagationOpts and cheapObjectAllocationOpts …
  • Loading branch information
vijaysun-omr authored Oct 17, 2023
2 parents e85ef46 + 0e30142 commit 0a5e058
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions compiler/optimizer/OMROptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,7 @@ const OptimizationStrategy reorderArrayIndexOpts[] =

const OptimizationStrategy cheapObjectAllocationOpts[] =
{
{ eachEscapeAnalysisPassGroup, IfEAOpportunitiesAndNotOptServer },
{ explicitNewInitialization, IfNews }, // do before local dead store
// basicBlockHoisting, // merge block into pred and prepare for local dead store
{ localDeadStoreElimination }, // remove local/parm/some field stores
{ endGroup }
};

Expand Down Expand Up @@ -191,16 +188,12 @@ const OptimizationStrategy cheapGlobalValuePropagationOpts[] =
{ treeSimplification, IfOptServer }, // for WAS trace folding
{ localCSE, IfEnabledAndOptServer }, // for WAS trace folding
{ treeSimplification, IfEnabledAndOptServer }, // for WAS trace folding
{ globalValuePropagation, IfMoreThanOneBlock },
{ localValuePropagation, IfOneBlock },
{ globalValuePropagation, IfLoopsMarkLastRun },
{ treeSimplification, IfEnabled },
{ cheapObjectAllocationGroup },
{ globalValuePropagation, IfEnabled }, // if inlined a call or an object
{ treeSimplification, IfEnabled },
{ catchBlockRemoval, IfEnabled }, // if checks were removed
{ osrExceptionEdgeRemoval }, // most inlining is done by now
{ redundantMonitorElimination, IfMonitors }, // performed if method has monitors
{ redundantMonitorElimination, IfEnabledAndMonitors }, // performed if method has monitors
{ globalValuePropagation, IfEnabledAndMoreThanOneBlockMarkLastRun}, // mark monitors requiring sync
{ virtualGuardTailSplitter, IfEnabled }, // merge virtual guards
{ CFGSimplification },
Expand Down

0 comments on commit 0a5e058

Please sign in to comment.