src/hotspot/share/opto/loopnode.cpp
changeset 54698 3ebf58dbf5d8
parent 54423 6c0ab8bd8da5
child 54699 1a5305f51bfd
equal deleted inserted replaced
54697:251090f84412 54698:3ebf58dbf5d8
  2947       IdealLoopTree* lpt = iter.current();
  2947       IdealLoopTree* lpt = iter.current();
  2948       bool is_counted = lpt->is_counted();
  2948       bool is_counted = lpt->is_counted();
  2949       if (!is_counted || !lpt->is_inner()) continue;
  2949       if (!is_counted || !lpt->is_inner()) continue;
  2950 
  2950 
  2951       // check for vectorized loops, any reassociation of invariants was already done
  2951       // check for vectorized loops, any reassociation of invariants was already done
  2952       if (is_counted && lpt->_head->as_CountedLoop()->do_unroll_only()) continue;
  2952       if (is_counted && lpt->_head->as_CountedLoop()->is_unroll_only()) continue;
  2953 
  2953 
  2954       lpt->reassociate_invariants(this);
  2954       lpt->reassociate_invariants(this);
  2955 
  2955 
  2956       // Because RCE opportunities can be masked by split_thru_phi,
  2956       // Because RCE opportunities can be masked by split_thru_phi,
  2957       // look for RCE candidates and inhibit split_thru_phi
  2957       // look for RCE candidates and inhibit split_thru_phi