Description
Op_ModI/Op_ModL/Op_UModI/Op_UModL cases are almost identical and could be refactored to a single one possibly using MulNode::make() and new similar helper methods.
If there's no IR test that verifies this transformation, it would be nice to add some to verify the refactoring doesn't break anything.
If there's no IR test that verifies this transformation, it would be nice to add some to verify the refactoring doesn't break anything.
Attachments
Issue Links
- relates to
-
JDK-8341068 [s390x] compiler/c2/TestDivModNodes.java Failure
- Open
- links to
-
Commit(master) openjdk/jdk/10050a72
-
Review(master) openjdk/jdk/20877