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

Run Ideal_minmax before de-canonicalizing CMoves

XMLWordPrintable

    • b09
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: