Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/subnode.cpp @ 3338:f1d6640088a1
6796786: invalid FP identity transform - (a - b) -> b - a
Reviewed-by: iveresov, twisti
author | never |
---|---|
date | Tue, 03 May 2011 12:11:54 -0700 |
parents | f95d63e2154a |
children | f88fb2fa90cf |
line wrap: on
line diff
--- a/src/share/vm/opto/subnode.cpp Mon May 02 18:53:37 2011 -0700 +++ b/src/share/vm/opto/subnode.cpp Tue May 03 12:11:54 2011 -0700 @@ -1223,21 +1223,6 @@ } //============================================================================= -//------------------------------NegNode---------------------------------------- -Node *NegFNode::Ideal(PhaseGVN *phase, bool can_reshape) { - if( in(1)->Opcode() == Op_SubF ) - return new (phase->C, 3) SubFNode( in(1)->in(2), in(1)->in(1) ); - return NULL; -} - -Node *NegDNode::Ideal(PhaseGVN *phase, bool can_reshape) { - if( in(1)->Opcode() == Op_SubD ) - return new (phase->C, 3) SubDNode( in(1)->in(2), in(1)->in(1) ); - return NULL; -} - - -//============================================================================= //------------------------------Value------------------------------------------ // Compute sqrt const Type *SqrtDNode::Value( PhaseTransform *phase ) const {