-
Enhancement
-
Resolution: Fixed
-
P4
-
19
-
b21
This showed up when working with a panama micro benchmark. Optimization of:
if ((base + (offset << 2)) & 3) != 0) {
}
into:
if ((base & 3) != 0) {
fails if the subgraph contains cast nodes.
if ((base + (offset << 2)) & 3) != 0) {
}
into:
if ((base & 3) != 0) {
fails if the subgraph contains cast nodes.
- relates to
-
JDK-8277850 C2: optimize mask checks in counted loops
-
- Resolved
-