git: openjdk/mobile: 8236721: C2 should better optimize not-equal integer comparisons
duke
duke at openjdk.java.net
Wed Jan 15 07:49:53 UTC 2020
Changeset: f243173a
Author: Tobias Hartmann <thartmann at openjdk.org>
Date: 2020-01-15 08:44:53 +0000
URL: https://git.openjdk.java.net/mobile/commit/f243173a
8236721: C2 should better optimize not-equal integer comparisons
Narrow the type if an integer value is found to be unequal to it's lower/upper boundary.
Reviewed-by: roland, neliasso
! src/hotspot/share/opto/cfgnode.hpp
! src/hotspot/share/opto/ifnode.cpp
+ test/hotspot/jtreg/compiler/types/TestFoldNECompares.java
More information about the mobile-changes
mailing list