Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/loopTransform.cpp @ 23660:b5f3a471e646
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 01 Jun 2016 00:11:44 +0200 |
parents | dd9cc155639c 192643caadca |
children | f13e777eb255 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp Tue May 31 08:05:44 2016 +0200 +++ b/src/share/vm/opto/loopTransform.cpp Wed Jun 01 00:11:44 2016 +0200 @@ -1739,6 +1739,12 @@ } return true; } + if (is_scaled_iv(exp->in(2), iv, p_scale)) { + if (p_offset != NULL) { + *p_offset = exp->in(1); + } + return true; + } if (exp->in(2)->is_Con()) { Node* offset2 = NULL; if (depth < 2 &&