8151661: Performance regression on Solaris-SPARC in 9-b103
Reviewed-by: kvn, aph
Contributed-by: rahul.v.raghavan@oracle.com
--- a/hotspot/src/share/vm/adlc/formssel.cpp Mon Jun 20 13:06:33 2016 +0200
+++ b/hotspot/src/share/vm/adlc/formssel.cpp Tue Jun 21 13:14:33 2016 -0400
@@ -1246,8 +1246,7 @@
!is_short_branch() && // Don't match another short branch variant
reduce_result() != NULL &&
strcmp(reduce_result(), short_branch->reduce_result()) == 0 &&
- _matrule->equivalent(AD.globalNames(), short_branch->_matrule) &&
- equivalent_predicates(this, short_branch)) {
+ _matrule->equivalent(AD.globalNames(), short_branch->_matrule)) {
// The instructions are equivalent.
// Now verify that both instructions have the same parameters and