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

Pengfei Li pli at openjdk.org
Wed Jul 12 02:04:59 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.

Thanks Vladimir for approving this. May I have another review?

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

PR Comment: https://git.openjdk.org/jdk/pull/14824#issuecomment-1631737551


More information about the hotspot-compiler-dev mailing list