@@ -2093,15 +2093,15 @@ static jint AndIL_min_trailing_zeros(const PhaseGVN* phase, const Node* expr, Ba
2093
2093
// whether expr is neutral wrt addition under mask
2094
2094
// and hence the result is always equivalent to (AndX T mask),
2095
2095
// 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:
2097
2097
// 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)
2105
2105
// The M and N values must satisfy ((-1 << N) & M) == 0.
2106
2106
static bool AndIL_is_zero_element (const PhaseGVN* phase, const Node* expr, const Node* mask, BasicType bt) {
2107
2107
const TypeInteger* mask_t = phase->type (mask)->isa_integer (bt);
0 commit comments