Details
-
Enhancement
-
Resolution: Won't Fix
-
P3
-
9, 10
Description
// (CastII (AddI x const)) -> (AddI (CastII x) const)
// ConvI2L(CastII(AddI(x, y))) to AddL(ConvI2L(CastII(x)), ConvI2L(CastII(y)))
By making CastIINode::Ideal() more generic, the ConvI2L changes can be removed. Investigation also showed that the CastII optimization helps to clean up the graph and merge branches during loop optimizations. This could be improved by making it more generic.
Attachments
Issue Links
- relates to
-
JDK-6675699 need comprehensive fix for unconstrained ConvI2L with narrowed type
- Closed
-
JDK-8145322 Code generated from unsafe loops can be slightly improved
- Resolved