RFR: 8267265: Use new IR Test Framework to create tests for C2 Ideal transformations
Vladimir Kozlov
kvn at openjdk.java.net
Fri Feb 11 04:55:08 UTC 2022
On Thu, 10 Feb 2022 22:12:53 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.
I got compilation failures for new tests. For example:
test/hotspot/jtreg/compiler/c2/irTests/SubLNodeIdealizationTests.java:83: error: cannot find symbol
@IR(failOn = {IRNode.SUB})
^
symbol: variable SUB
location: class IRNode
-------------
PR: https://git.openjdk.java.net/jdk/pull/7434
More information about the hotspot-compiler-dev
mailing list