Skip to content

Commit

Permalink
OffHeap: Disable EA and idiom recognition till fixed for OffHeap
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Verma <shubhamv.sv@gmail.com>
  • Loading branch information
VermaSh authored and rmnattas committed Apr 23, 2024
1 parent 15eb2a8 commit b19d6c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compiler/control/OMROptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,15 @@ OMR::Options::jitPreProcess()
_disabledOptimizations[IVTypeTransformation] = true;
_disabledOptimizations[basicBlockHoisting] = true;

#ifdef OMR_GC_SPARSE_HEAP_ALLOCATION
if (TR::Compiler->om.isOffHeapAllocationEnabled())
{
// Disable opts known to be broken for off heap
_disabledOptimizations[escapeAnalysis] = true;
_disabledOptimizations[idiomRecognition] = true;
}
#endif

self()->setOption(TR_DisableTreePatternMatching);
self()->setOption(TR_DisableHalfSlotSpills);

Expand Down

0 comments on commit b19d6c7

Please sign in to comment.