comparison src/share/vm/opto/loopnode.cpp @ 1763:d6f45b55c972

4809552: Optimize Arrays.fill(...) Reviewed-by: kvn
author never
date Fri, 27 Aug 2010 17:33:49 -0700
parents 6027dddc26c6
children f95d63e2154a
comparison
equal deleted inserted replaced
1731:ee5cc9e78493 1763:d6f45b55c972
1671 // Perform loop predication before iteration splitting 1671 // Perform loop predication before iteration splitting
1672 if (do_loop_pred && C->has_loops() && !C->major_progress()) { 1672 if (do_loop_pred && C->has_loops() && !C->major_progress()) {
1673 _ltree_root->_child->loop_predication(this); 1673 _ltree_root->_child->loop_predication(this);
1674 } 1674 }
1675 1675
1676 if (OptimizeFill && UseLoopPredicate && C->has_loops() && !C->major_progress()) {
1677 if (do_intrinsify_fill()) {
1678 C->set_major_progress();
1679 }
1680 }
1681
1676 // Perform iteration-splitting on inner loops. Split iterations to avoid 1682 // Perform iteration-splitting on inner loops. Split iterations to avoid
1677 // range checks or one-shot null checks. 1683 // range checks or one-shot null checks.
1678 1684
1679 // If split-if's didn't hack the graph too bad (no CFG changes) 1685 // If split-if's didn't hack the graph too bad (no CFG changes)
1680 // then do loop opts. 1686 // then do loop opts.