Skip to content

Commit b2a4e64

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 f687e6c commit b2a4e64

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
@@ -1093,8 +1093,8 @@ static bool checkEquivalentIndirectLoadChain(TR::Node *lhs, TR::Node *rhs)
10931093
//
10941094
bool OMR::CFGSimplifier::simplifyBooleanStore(bool needToDuplicateTree)
10951095
{
1096-
static char *enableSimplifyBooleanStore = feGetEnv("TR_enableSimplifyBooleanStore");
1097-
if (enableSimplifyBooleanStore == NULL)
1096+
static const char *disableSimplifyBooleanStore = feGetEnv("TR_disableSimplifyBooleanStore");
1097+
if (disableSimplifyBooleanStore != NULL)
10981098
return false;
10991099

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

0 commit comments

Comments
 (0)