mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-11 13:05:45 +00:00
more
This commit is contained in:
parent
d18ee34318
commit
a8deb3a52d
@ -2220,7 +2220,8 @@ Node* IfProjNode::Ideal(PhaseGVN* phase, bool can_reshape) {
|
||||
if (u->is_Load()) {
|
||||
LoadNode* ld = u->as_Load()->with_rc_constant_folded();
|
||||
if (ld != nullptr) {
|
||||
igvn->replace_node(u, phase->transform(ld));
|
||||
igvn->register_new_node_with_optimizer(ld);
|
||||
igvn->replace_node(u, ld);
|
||||
--i;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1441,7 +1441,6 @@ Node* LoadNode::Identity(PhaseGVN* phase) {
|
||||
if (use != this &&
|
||||
use->Opcode() == Opcode() &&
|
||||
use->in(0) != nullptr &&
|
||||
use->in(0) != in(0) &&
|
||||
use->in(Address) == in(Address) &&
|
||||
same_vector_load_inputs(use) &&
|
||||
phase->is_dominator(use->in(0), in(0))) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user