Skip to content

Commit b5b6582

Browse files
committed
Enable boolean store simplification of CFG Simplifier
The simplifyBooleanStore method of CFG Simplifier was disabled several years ago. This change reenables that transformation which had previously been in use for many years. Signed-off-by: Henry Zongaro <[email protected]>
1 parent 356ff54 commit b5b6582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/optimizer/OMRCFGSimplifier.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,8 +1054,8 @@ static bool checkEquivalentIndirectLoadChain(TR::Node *lhs, TR::Node *rhs)
10541054
//
10551055
bool OMR::CFGSimplifier::simplifyBooleanStore(bool needToDuplicateTree)
10561056
{
1057-
static char *enableSimplifyBooleanStore = feGetEnv("TR_enableSimplifyBooleanStore");
1058-
if (enableSimplifyBooleanStore == NULL)
1057+
static const char *disableSimplifyBooleanStore = feGetEnv("TR_disableSimplifyBooleanStore");
1058+
if (disableSimplifyBooleanStore != NULL)
10591059
return false;
10601060

10611061
if (!(comp()->cg()->getSupportsSelect()))

0 commit comments

Comments
 (0)