src/share/vm/adlc/formssel.cpp

changeset 5978
1856ea98184a
parent 5791
c9ccd7b85f20
child 6198
55fb97c4c58d
child 6478
044b28168e20
equal deleted inserted replaced
5927:4a2acfb16e97 5978:1856ea98184a
533 bool rematerialize = false; 533 bool rematerialize = false;
534 534
535 Form::DataType data_type = is_chain_of_constant(globals); 535 Form::DataType data_type = is_chain_of_constant(globals);
536 if( data_type != Form::none ) 536 if( data_type != Form::none )
537 rematerialize = true; 537 rematerialize = true;
538
539 // Ugly: until a better fix is implemented, disable rematerialization for
540 // negD nodes because they are proved to be problematic.
541 if (is_ideal_negD()) {
542 return false;
543 }
544 538
545 // Constants 539 // Constants
546 if( _components.count() == 1 && _components[0]->is(Component::USE_DEF) ) 540 if( _components.count() == 1 && _components[0]->is(Component::USE_DEF) )
547 rematerialize = true; 541 rematerialize = true;
548 542

mercurial