JDK 23 |
---|
23 b16Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The code patterns "a > b ? a : b" and "if (a > b) b = a" are fairly common in Java code. Currently, the compiler doesn't transform these patterns into minimum and maximum nodes, but such a transformation would compact the IR and allow for other optimizations, such as vectorization.
|