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

lusou-zhangquan duke at openjdk.org
Wed Sep 17 02:47:21 UTC 2025


> 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.

lusou-zhangquan has updated the pull request incrementally with one additional commit since the last revision:

  Fix wrong source register order

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27307/files
  - new: https://git.openjdk.org/jdk/pull/27307/files/233e7681..aeb9cfc4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27307&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27307&range=00-01

  Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/27307.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27307/head:pull/27307

PR: https://git.openjdk.org/jdk/pull/27307


More information about the hotspot-compiler-dev mailing list