[jdk17u-dev] RFR: 8273454: C2: Transform (-a)*(-b) into a*b

Goetz Lindenmaier goetz at openjdk.org
Mon Dec 11 14:26:34 UTC 2023


I backport this for parity with 17.0.11-oracle.

This contains follow up fix 8274060: C2: Incorrect computation after JDK-8273454 and a part of JDK-8274130) C2: MulNode::Ideal chained transformations may act on wrong nodes which is already backported, but omitted the part to be applied to this patch.
This is also the reason why a clean backport failed.

-------------

Commit messages:
 - Backport c77ebe88748b0a55f1fc7a5497314a752eab1e2a
 - Backport 7c9868c0b3c9bd3d305e71f91596190813cdccce

Changes: https://git.openjdk.org/jdk17u-dev/pull/2035/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2035&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8273454
  Stats: 202 lines in 3 files changed: 201 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2035.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2035/head:pull/2035

PR: https://git.openjdk.org/jdk17u-dev/pull/2035


More information about the jdk-updates-dev mailing list