Mercurial > hg > graal-compiler
diff src/share/vm/opto/loopopts.cpp @ 14495:cd5d10655495
8027754: Enable loop optimizations for loops with MathExact inside
Reviewed-by: kvn, iveresov
author | rbackman |
---|---|
date | Thu, 23 Jan 2014 12:08:28 +0100 |
parents | 5ec7dace41a6 |
children | 4ca6dc0799b6 cd3c534f8f4a |
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp Mon Feb 24 15:12:26 2014 -0800 +++ b/src/share/vm/opto/loopopts.cpp Thu Jan 23 12:08:28 2014 +0100 @@ -43,12 +43,6 @@ return NULL; } - if (n->is_MathExact()) { - // MathExact has projections that are not correctly handled in the code - // below. - return NULL; - } - int wins = 0; assert(!n->is_CFG(), ""); assert(region->is_Region(), ""); @@ -2362,8 +2356,7 @@ opc == Op_Catch || opc == Op_CatchProj || opc == Op_Jump || - opc == Op_JumpProj || - opc == Op_FlagsProj) { + opc == Op_JumpProj) { #if !defined(PRODUCT) if (TracePartialPeeling) { tty->print_cr("\nExit control too complex: lp: %d", head->_idx);