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

Run Ideal_minmax before de-canonicalizing CMoves

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 24
    • 17, 21, 23
    • hotspot
    • b09
    • generic
    • generic

    Description

      IfNode tests are canonicalized in https://github.com/openjdk/jdk/blob/21480a7ae8dce67cf3a844d8caafb0b96c37ac0e/src/hotspot/share/opto/ifnode.cpp#L1836 so that its input are either ne, lt, or le. We should do the same for CMov nodes. The CMov to Min/Max conversion expects canonical comparions https://github.com/openjdk/jdk/blob/21480a7ae8dce67cf3a844d8caafb0b96c37ac0e/src/hotspot/share/opto/movenode.cpp#L224.

      Attachments

        Issue Links

          Activity

            People

              jkarthikeyan Jasmine Karthikeyan
              jcao Joshua Cao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: