src/share/vm/opto/node.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/opto/node.cpp Mon Aug 18 11:12:11 2014
--- new/src/share/vm/opto/node.cpp Mon Aug 18 11:12:11 2014
*** 1081,1090 ****
--- 1081,1093 ----
Node* n = unique_out();
int op = Opcode();
if( this->is_Store() ) {
// Condition for back-to-back stores folding.
return n->Opcode() == op && n->in(MemNode::Memory) == this;
+ } else if (this->is_Load()) {
+ // Condition for removing an unused LoadNode from the MemBarAcquire precedence input
+ return n->Opcode() == Op_MemBarAcquire;
} else if( op == Op_AddL ) {
// Condition for convL2I(addL(x,y)) ==> addI(convL2I(x),convL2I(y))
return n->Opcode() == Op_ConvL2I && n->in(1) == this;
} else if( op == Op_SubI || op == Op_SubL ) {
// Condition for subI(x,subI(y,z)) ==> subI(addI(x,z),y)
src/share/vm/opto/node.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File