During https://github.com/openjdk/jdk/pull/23024 / JDK-8335747 we noticed that the constant folding in LoopLimitNode::Value seems to be roughly duplicated in the lowering of LoopLimitNode::Ideal. Investigate if that could be simplified / improved. Also investigate if backend implementation of LoopLimitNode is helpful, should be expanded or removed.
- relates to
-
JDK-8335747 C2: fix overflow case for LoopLimit with constant inputs
- Resolved