Mercurial > hg > truffle
comparison src/share/vm/opto/lcm.cpp @ 17726:085b304a1cc5
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 | 55fb97c4c58d |
children | 62c54fcc0a35 |
comparison
equal
deleted
inserted
replaced
17725:b4ce4e9eb97d | 17726:085b304a1cc5 |
---|---|
470 if (use->is_MachIf() && get_block_for_node(use) == block) { | 470 if (use->is_MachIf() && get_block_for_node(use) == block) { |
471 found_machif = true; | 471 found_machif = true; |
472 break; | 472 break; |
473 } | 473 } |
474 | 474 |
475 // For nodes that produce a FlagsProj, make the node adjacent to the | |
476 // use of the FlagsProj | |
477 if (use->is_FlagsProj() && get_block_for_node(use) == block) { | |
478 found_machif = true; | |
479 break; | |
480 } | |
481 | |
482 // More than this instruction pending for successor to be ready, | 475 // More than this instruction pending for successor to be ready, |
483 // don't choose this if other opportunities are ready | 476 // don't choose this if other opportunities are ready |
484 if (ready_cnt.at(use->_idx) > 1) | 477 if (ready_cnt.at(use->_idx) > 1) |
485 n_choice = 1; | 478 n_choice = 1; |
486 } | 479 } |