Skip to content

Commit

Permalink
Merge pull request #18949 from r30shah/fixDLP
Browse files Browse the repository at this point in the history
Check normalizedNaN flag on (d/f)bits2(l/i) nodes
  • Loading branch information
joransiu authored Feb 16, 2024
2 parents f524f99 + 401133d commit 8ce1cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/compiler/optimizer/DynamicLiteralPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ bool TR_DynamicLiteralPool::visitTreeTop(TR::TreeTop * tt, TR::Node *grandParent
addNewAloadChild(node);
}
// add extra aload child for float conversions
else if (opCodeValue==TR::fbits2i || opCodeValue==TR::dbits2l)
else if ((opCodeValue==TR::fbits2i || opCodeValue==TR::dbits2l) && node->normalizeNanValues())
{
addNewAloadChild(node);
}
Expand Down

0 comments on commit 8ce1cab

Please sign in to comment.