RFR: 8342387: C2 SuperWord: refactor and improve compiler/loopopts/superword/TestDependencyOffsets.java [v2]

Christian Hagedorn chagedorn at openjdk.org
Wed Oct 23 07:55:12 UTC 2024


On Wed, 23 Oct 2024 06:03:47 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/loopopts/superword/TestDependencyOffsets.java line 736:
>> 
>>> 734:             IRRule r1 = new IRRule(type, type.irNode);
>>> 735:             r1.addApplyIf("\"AlignVector\", \"false\"");
>>> 736:             r1.addApplyIf("\"MaxVectorSize\", \">=" + minVectorWidth + "\"");
>> 
>> Maybe at some point, the Compile Framework could offer such an IR rule builder class. But might be something for a future RFE.
>
> Nice idea. Probably that would rather be part of the (future) Template Framework?

Yes, that's also a good option.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21541#discussion_r1812100729


More information about the hotspot-compiler-dev mailing list