2 Commits

Author SHA1 Message Date
Tobias Hartmann
c6db213e6e 8177095: Range check dependent CastII/ConvI2L is prematurely eliminated
Disabled narrowing of range check dependent CastIIs (either through the CastII(AddI) optimization or through CastIINode::Ideal).

Reviewed-by: vlivanov, kvn
2017-03-29 09:20:08 +02:00
Tobias Hartmann
f51da0f1a0 6675699: need comprehensive fix for unconstrained ConvI2L with narrowed type
Emit CastII to make narrow ConvI2L dependent on the corresponding range check.

Reviewed-by: kvn, roland
2016-01-27 09:02:51 +01:00