Request for reviews (S): 6930116: loop predication code does not handle If nodes with only one projection
Vladimir Kozlov
Vladimir.Kozlov at Sun.COM
Thu Feb 25 19:13:03 PST 2010
http://cr.openjdk.java.net/~kvn/6930116/webrev
Fixed 6930116: loop predication code does not handle If nodes with only one projection
Problem:
Loop predication codes expects all If nodes have 2 projections which
could be not true for some dead paths.
Solution:
Add check for iff->outcnt() < 2.
Reviewed by:
Fix verified (y/n): y
Other testing:
JPRT
I did not find where such If came from but other places has such check.
It could came from some loop optimization and was not removed since
IGVN cleaning code was not run yet (it is done at the end of all
loop optimizations).
More information about the hotspot-compiler-dev
mailing list