]> git.ipfire.org Git - thirdparty/gcc.git/commit
Simplify range-op shift mask generation
authorRichard Biener <rguenther@suse.de>
Tue, 24 Sep 2024 12:23:40 +0000 (14:23 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 Sep 2024 13:21:11 +0000 (15:21 +0200)
commit2114243c23ec5168cd54633cd4995ab123d92573
tree4202530aac4650f08aa8b4cbab3a430699e58431
parentde6fe690db32689ba5e5c6f551672a19e6cae5d4
Simplify range-op shift mask generation

The following reduces the number of wide_ints built which show up
in the profile for PR114855 as the largest remaining bit at -O1.

* range-op.cc (operator_rshift::op1_range): Use wi::mask instead
of shift and not.
gcc/range-op.cc