equal
deleted
inserted
replaced
1244 if (_matrule != NULL && |
1244 if (_matrule != NULL && |
1245 this != short_branch && // Don't match myself |
1245 this != short_branch && // Don't match myself |
1246 !is_short_branch() && // Don't match another short branch variant |
1246 !is_short_branch() && // Don't match another short branch variant |
1247 reduce_result() != NULL && |
1247 reduce_result() != NULL && |
1248 strcmp(reduce_result(), short_branch->reduce_result()) == 0 && |
1248 strcmp(reduce_result(), short_branch->reduce_result()) == 0 && |
1249 _matrule->equivalent(AD.globalNames(), short_branch->_matrule)) { |
1249 _matrule->equivalent(AD.globalNames(), short_branch->_matrule) && |
|
1250 equivalent_predicates(this, short_branch)) { |
1250 // The instructions are equivalent. |
1251 // The instructions are equivalent. |
1251 |
1252 |
1252 // Now verify that both instructions have the same parameters and |
1253 // Now verify that both instructions have the same parameters and |
1253 // the same effects. Both branch forms should have the same inputs |
1254 // the same effects. Both branch forms should have the same inputs |
1254 // and resulting projections to correctly replace a long branch node |
1255 // and resulting projections to correctly replace a long branch node |