RFR: 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test [v2]
Daniel Lundén
dlunden at openjdk.org
Thu Jan 18 10:07:15 UTC 2024
On Thu, 18 Jan 2024 07:06:00 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
>> When translating the test, I focused only on translating the old ad-hoc IR tests to the IR verification framework. Do we want to extend the scope of this issue to also update the testing code? Mainly, the reason I'm asking is that copies of `TestIntVect.java` appears in many places (e.g., `test/compiler/6340864/TestIntVect.java`), and the testing pattern in particular appears in many places (grep for, e.g., `errn += verify(`). If we update the pattern here, we should probably also update it everywhere else?
>
> Good point, I guess it's okay then to leave this code as as it is. It just looked odd to do correctness testing the way it does. But as you say, if you change that you probably also need to revisit other tests. That's probably not worth it. The main goal should be to introduce IR matching with the IR framework. So, I'm fine with not touching that code or the print statements.
Would it perhaps be useful to create a separate RFE for your cleanup suggestions?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17428#discussion_r1457208944
More information about the hotspot-compiler-dev
mailing list