RFR: 8311691: C2: Remove legacy code related to PostLoopMultiversioning

Vladimir Kozlov kvn at openjdk.org
Tue Jul 11 17:42:02 UTC 2023


On Tue, 11 Jul 2023 09:56:51 GMT, Pengfei Li <pli at openjdk.org> wrote:

> As discussed in JDK-8308994, we are working on re-implementation of post loop vectorization and planning to refactor current SuperWord code. As nobody is using or maintaining the old implementation now, to make the refactoring work easier, we propose to remove the legacy code of the old implementation first.
> 
> This patch removes all code realted to `PostLoopMultiversioning` inside and outside SuperWord. After the removal, `SLP_extract()` in SuperWord should only work on main loops. So we also removed all `is_main_loop()` checks inside and added assertions instead.
> 
> Tested with hotspot::hotspot_all_no_apps, jdk tier1~3, langtools tier1 and 100k fuzzer tests on x86 and AArch64, no issue is found.

Good. Thank you for cleaning this.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14824#pullrequestreview-1524814976


More information about the hotspot-compiler-dev mailing list