Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267928

Loop predicate gets inexact loop limit before PhaseIdealLoop::rc_predicate

XMLWordPrintable

    • b26

      Loop predicate gets inexact loop limit(LoopLimitNode) from exact_limit(even if the limit is statically known) and does unnecessary overflow checking when generating lower bound test(rc_predicate). The reason is rather straightforward: exact_limit fails to see a HasExactTripCount flag since it would be set after performing loop predicate(iteration_split).

            yyang Yi Yang
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: