RFR: 8364766: C2: Improve Value() of DivI and DivL for non-constant inputs [v6]

Tobias Hotz duke at openjdk.org
Sun Oct 19 10:24:14 UTC 2025


On Mon, 25 Aug 2025 14:27:23 GMT, Johannes Graham <jgraham at openjdk.org> wrote:

>> Tobias Hotz has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove too strict assert from old code path
>
> test/hotspot/jtreg/compiler/c2/irTests/IntegerDivValueTests.java line 49:
> 
>> 47:     public int testIntConstantFolding() {
>> 48:         // All constants available during parsing
>> 49:         return 50 / 25;
> 
> This will be constant-folded by javac, so won't exercise c2

Whoops, thanks! Fixed in the latest commit

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26143#discussion_r2443236876


More information about the hotspot-compiler-dev mailing list