git: openjdk/jdk: 8322077: Add Ideal transformation: (~a) | (~b) => ~(a & b)

Tobias Hartmann thartmann at openjdk.org
Mon Jan 15 06:49:08 UTC 2024


Changeset: 1515bd7c
Author:    Zhiqiang Zang <zhiqiang.zang at utexas.edu>
Committer: Tobias Hartmann <thartmann at openjdk.org>
Date:      2024-01-15 06:48:00 +0000
URL:       https://git.openjdk.org/jdk/commit/1515bd7c9d70e3d6153fc82cd7db0502a15427aa

8322077: Add Ideal transformation: (~a) | (~b) => ~(a & b)

Reviewed-by: thartmann, epeter

! src/hotspot/share/opto/addnode.cpp
+ test/hotspot/jtreg/compiler/c2/irTests/DeMorganLawIntTests.java
+ test/hotspot/jtreg/compiler/c2/irTests/DeMorganLawLongTests.java
+ test/hotspot/jtreg/compiler/c2/irTests/OrINodeIdealizationTests.java
+ test/hotspot/jtreg/compiler/c2/irTests/OrLNodeIdealizationTests.java



More information about the jdk-changes mailing list