aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-03-10 13:43:19 +0100
committerRichard Biener <rguenther@suse.de>2022-03-10 13:43:19 +0100
commitee34ffa429a399f292ad1421333721a92b998772 (patch)
treeafab9632adaa21e2b92cce18aa15b5e621363e37 /gcc/fortran
parent9467e7331188705ec16c086b77e1809c5b0aab7d (diff)
downloadgcc-ee34ffa429a399f292ad1421333721a92b998772.zip
gcc-ee34ffa429a399f292ad1421333721a92b998772.tar.gz
gcc-ee34ffa429a399f292ad1421333721a92b998772.tar.bz2
tree-optimization/102943 - use tree form for sbr_sparse_bitmap
The following arranges to remove an indirection do the bitvector in sbr_sparse_bitmap by embedding bitmap_head instead of bitmap and using the tree form (since we only ever set/query individual aligned bit chunks). That shaves off 6 seconds from 70 seconds of the slowest 521.wrf_r LRANS unit build. 2022-03-10 Richard Biener <rguenther@suse.de> PR tree-optimization/102943 * gimple-range-cache.cc (sbr_sparse_bitmap::bitvec): Make a bitmap_head. (sbr_sparse_bitmap::sbr_sparse_bitmap): Adjust and switch to tree view. (sbr_sparse_bitmap::set_bb_range): Adjust. (sbr_sparse_bitmap::get_bb_range): Likewise.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions