RFR: 8267265: Use new IR Test Framework to create tests for C2 Ideal transformations [v2]

Christian Hagedorn chagedorn at openjdk.java.net
Tue Feb 15 08:42:10 UTC 2022


On Mon, 14 Feb 2022 22:02:15 GMT, Cesar Soares <duke at openjdk.java.net> wrote:

>> Hi, can I please get some reviews for this Pull Request? Here is a summary of the changes:
>> 
>> - Add tests, using the new IR-based test framework, for several of the Ideal transformations on Add, Sub, Mul, Div, Loop nodes and some simple Scalar Replacement transformations.
>> - Add more default IR regex's to IR-based test framework.
>
> Cesar Soares has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixing typos & compilation

test/hotspot/jtreg/compiler/c2/irTests/loopOpts/LoopIdealizationTests.java line 87:

> 85:     public void oneIterForLoop2() {
> 86:         for (int i = 0; i < 500; i++) {
> 87: 			this.blackhole();

Should be whitespaces instead of tabs.

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

PR: https://git.openjdk.java.net/jdk/pull/7434


More information about the hotspot-compiler-dev mailing list