]> git.ipfire.org Git - thirdparty/gcc.git/commit
Loop over intersected bitmaps.
authorAndrew MacLeod <amacleod@redhat.com>
Thu, 4 Aug 2022 16:22:59 +0000 (12:22 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Thu, 4 Aug 2022 18:21:59 +0000 (14:21 -0400)
commit8e34d92ef29a175b84cc7f5185db43656ae762bb
tree9159427d7bddc6f0df5b8fee131e442027b8e017
parentbe58bf98e98bb431ed26ca8be84586075fe8be82
Loop over intersected bitmaps.

compute_ranges_in_block loops over the import list and then checks the
same bit in exports.  It is nmore efficent to loop over the intersection
of the 2 bitmaps.

PR tree-optimization/106514
* gimple-range-path.cc (path_range_query::compute_ranges_in_block):
Use EXECUTE_IF_AND_IN_BITMAP to loop over 2 bitmaps.
gcc/gimple-range-path.cc