RFR: 8341781: Improve Min/Max node identities [v2]

Emanuel Peter epeter at openjdk.org
Thu Oct 31 14:50:29 UTC 2024


On Thu, 31 Oct 2024 14:45:22 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> With the workaround to check for CPU features on all 3 platforms, we'd be not checking the IR when `asimd = false` or `rvv = false`, but the IR check should pass with those features too.
>
> I think your tags are actually available, with `applyIfPlatform`. Look at `irTestingPlatforms` in https://github.com/openjdk/jdk/blame/master/test/hotspot/jtreg/compiler/lib/ir_framework/test/IREncodingPrinter.java#L69

Example:
`./test/hotspot/jtreg/compiler/loopopts/superword/TestGeneralizedReductions.java:    @IR(applyIfPlatform = {"riscv64", "true"},`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21439#discussion_r1824605598


More information about the hotspot-compiler-dev mailing list