RFR: 8324765: C2 SuperWord: remove dead code: SuperWord::insert_extracts

Vladimir Kozlov kvn at openjdk.org
Fri Jan 26 19:35:35 UTC 2024


On Fri, 26 Jan 2024 15:14:13 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Subtask of https://github.com/openjdk/jdk/pull/16620
> 
> As far as all tests and code study have showed me, SuperWord::insert_extracts is dead.
> 
> I am replacing it with verification code, that checks that no ExtractNode is required.
> 
> **Details**
> 
> All the relevant cases are marked as "unprofitable" in `SuperWord::profitable`, see:
> https://github.com/openjdk/jdk/blob/dfdd2174d7af5e3e995147484db17b45b006f6d0/src/hotspot/share/opto/superword.cpp#L1912-L1915

Good.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17589#pullrequestreview-1846419744


More information about the hotspot-compiler-dev mailing list