Skip to content

Commit 0713345

Browse files
committed
comment readability
1 parent 2a79c24 commit 0713345

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/hotspot/share/opto/mulnode.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -2093,15 +2093,15 @@ static jint AndIL_min_trailing_zeros(const PhaseGVN* phase, const Node* expr, Ba
20932093
// whether expr is neutral wrt addition under mask
20942094
// and hence the result is always equivalent to (AndX T mask),
20952095
// The X in AndX must be I or L, depending on bt.
2096-
// Specifically, this holds for the following cases,
2096+
// Specifically, this holds for the following cases:
20972097
// when the shift value N is large enough to zero out
2098-
// all the set positions of the and-mask M.
2099-
// (AndI (LShiftI _ #N) #M) => #0
2100-
// (AndL (LShiftL _ #N) #M) => #0
2101-
// (AndL (ConvI2L (LShiftI _ #N)) #M) => #0
2102-
// as well as for constant operands:
2103-
// (AndI (ConI [+-] _ << #N) #M) => #0
2104-
// (AndL (ConL [+-] _ << #N) #M) => #0
2098+
// all the set positions of the and-mask M:
2099+
// (AndI (LShiftI _ #N) #M)
2100+
// (AndL (LShiftL _ #N) #M)
2101+
// (AndL (ConvI2L (LShiftI _ #N)) #M)
2102+
// including constant operands:
2103+
// (AndI (ConI (_ << #N)) #M)
2104+
// (AndL (ConL (_ << #N)) #M)
21052105
// The M and N values must satisfy ((-1 << N) & M) == 0.
21062106
static bool AndIL_is_zero_element(const PhaseGVN* phase, const Node* expr, const Node* mask, BasicType bt) {
21072107
const TypeInteger* mask_t = phase->type(mask)->isa_integer(bt);

0 commit comments

Comments
 (0)