Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8288981 [Umbrella] C2: Fix issues with Skeleton/Assertion Predicates
  3. JDK-8350578

Refactor useless Parse and Template Assertion Predicate elimination code by using a PredicateVisitor

XMLWordPrintable

    • b15

      The current Template Assertion Predicate elimination code could be refactored to use the new Predicate Visitors/Iterator. We can reuse existing ParsePredicateUsefulMarker and extend it.

      Moreover, there is a bug: When removing Parse Predicates, we are also removing Template Assertion Predicates. But we could apply more loop optimizations afterwards which include loop splitting. In this case, we also need to establish Assertion Predicates which we fail to do because we've already (wrongly) removed them. We should keep the Template Assertion Predicates until loop opts are over. This patch is a required preparation step in order to fix that with JDK-8350577.

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: