Skip to content

Commit

Permalink
Addressed Review Comments (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesyou committed Feb 26, 2024
1 parent 31b1b6e commit 0152754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/optimizer/OMRSimplifierHandlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8667,7 +8667,7 @@ TR::Node *dmulSimplifier(TR::Node * node, TR::Block * block, TR::Simplifier * s)
// In IEEE FP Arithmetic, d * 1.0 is d
// Pretend to be an int before doing the comparison
auto binOpSimplifier = getDoubleBitsBinaryOpSimplifier(s);
auto identity = binOpSimplifier.tryAndSimplifyIdentityOp(node, (int64_t) DOUBLE_ONE);
auto identity = binOpSimplifier.tryAndSimplifyIdentityOp(node, DOUBLE_ONE);
if (identity)
return identity;
}
Expand Down Expand Up @@ -9406,7 +9406,7 @@ TR::Node *ddivSimplifier(TR::Node * node, TR::Block * block, TR::Simplifier * s)
// Pretend to be an int before doing the comparison
//
auto binOpSimplifier = getDoubleBitsBinaryOpSimplifier(s);
auto identity = binOpSimplifier.tryAndSimplifyIdentityOp(node, (int64_t) DOUBLE_ONE);
auto identity = binOpSimplifier.tryAndSimplifyIdentityOp(node, DOUBLE_ONE);
if (identity)
return identity;

Expand Down

0 comments on commit 0152754

Please sign in to comment.