8220211: Small update to Fix generation of VNNI vector code by allowing adjacent LoadS nodes to be isomorphic (JDK-8216580)

Reviewed-by: kvn
This commit is contained in:
Vivek Deshpande 2019-03-05 21:26:14 -08:00
parent 725a467ad8
commit 40031abde4

View File

@ -1241,8 +1241,8 @@ bool SuperWord::isomorphic(Node* s1, Node* s2) {
// Therefore, if the control nodes for both are range checks, we accept them to be isomorphic.
for (DUIterator_Fast imax, i = s1->fast_outs(imax); i < imax; i++) {
Node* t1 = s1->fast_out(i);
for (DUIterator_Fast imax, i = s2->fast_outs(imax); i < imax; i++) {
Node* t2 = s2->fast_out(i);
for (DUIterator_Fast jmax, j = s2->fast_outs(jmax); j < jmax; j++) {
Node* t2 = s2->fast_out(j);
if (VectorNode::is_muladds2i(t1) && VectorNode::is_muladds2i(t2)) {
return true;
}