On Wed, 8 Mar 2023 21:41:31 GMT, Vladimir Ivanov <vliva...@openjdk.org> wrote:
> Or encapsulate the constant folding logic (along with the guard) into > SharedRuntime and return Type* (instead of int/float scalar). I take this particular suggestion back. `SharedRuntime` is compiler-agnostic while `Type` is C2-specific. ------------- PR: https://git.openjdk.org/jdk/pull/12869