RFR: 8367706: Remove redundant register used by cmove in C1 LIR generation

Dean Long dlong at openjdk.org
Wed Sep 17 02:14:42 UTC 2025


On Tue, 16 Sep 2025 09:35:03 GMT, lusou-zhangquan <duke at openjdk.org> wrote:

> This PR removes redundant temp register used by cmove in C1 LIRGenerator::do_LookupSwitch and LIRGenerator::do_TableSwitch. The issue [8367706](https://bugs.openjdk.org/browse/JDK-8367706) is reported by me and it's my pleasure to fix it.

Reversing the order of the two source arguments seems wrong.  Please explain.

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

Changes requested by dlong (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27307#pullrequestreview-3232251609


More information about the hotspot-compiler-dev mailing list