Details
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
- links to
-
Commit(master) openjdk/jdk/f2ba2ebb
-
Review(master) openjdk/jdk/19914