Skip to content

Commit b6865ae

Browse files
authored
Merge pull request #17892 from jmesyou/refactor/supports-lowering-const-div
Refactor SupportsConst(I|L)Div to Supports(I|L)MulHigh
2 parents 659cb99 + 5215d83 commit b6865ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/compiler/optimizer/IdiomRecognition.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1064,8 +1064,8 @@ TR_CISCGraph::initializeGraphs(TR::Compilation *c)
10641064
bool genMemcpy = c->cg()->getSupportsReferenceArrayCopy() || c->cg()->getSupportsPrimitiveArrayCopy();
10651065
bool genMemset = c->cg()->getSupportsArraySet();
10661066
bool genMemcmp = c->cg()->getSupportsArrayCmp();
1067-
bool genIDiv2Mul = c->cg()->getSupportsLoweringConstIDiv();
1068-
bool genLDiv2Mul = c->cg()->getSupportsLoweringConstLDiv();
1067+
bool genIDiv2Mul = c->cg()->getSupportsIMulHigh();
1068+
bool genLDiv2Mul = c->cg()->getSupportsLMulHigh();
10691069
// FIXME: We need getSupportsCountDecimalDigit() like interface
10701070
// this idiom is only enabled on 390 for the moment
10711071

0 commit comments

Comments
 (0)