changeset 54007:b23068def105

8220211: Small update to Fix generation of VNNI vector code by allowing adjacent LoadS nodes to be isomorphic (JDK-8216580) Reviewed-by: kvn
author vdeshpande
date Tue, 05 Mar 2019 21:26:14 -0800
parents a421bdf22394
children 8b341d6728fe
files src/hotspot/share/opto/superword.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/superword.cpp	Tue Mar 05 19:54:33 2019 -0500
+++ b/src/hotspot/share/opto/superword.cpp	Tue Mar 05 21:26:14 2019 -0800
@@ -1241,8 +1241,8 @@
     // 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;
         }