JDK-8342946 : Replace predicate walking code in Loop Unrolling with a predicate visitor
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-24
  • Updated: 2024-11-11
  • Resolved: 2024-11-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 masterFixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Description
JDK-8340786 introduced a predicate iterator that work together with visitors. This task should replace the existing predicate walking code found for Loop Peeling with a new PredicateVisitor that uses the PredicateIterator class. In follow-up tasks, we can do the same replacement for Main/Post loops, Loop Unswitching/Removing useless assertion predicate and Loop Unrolling. 

Once these replacements are done, we can remove the UCTs for Template Assertion Predicates and fix the Template Assertion Predicate matching in a single place (i.e. TemplateAssertionPredicate::is_predicate()).
Comments
Changeset: 5f338e9a Branch: master Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2024-11-11 06:18:25 +0000 URL: https://git.openjdk.org/jdk/commit/5f338e9adbcf7fe7ee90abfd34a24a3a93c22211
11-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21944 Date: 2024-11-07 09:22:02 +0000
07-11-2024