aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-11-11 17:28:56 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2023-11-11 17:28:56 +0000
commit335b55f4146c5ef9e3bf4bcb7e58e887c3150b02 (patch)
tree0c60f2088c61c68cd89d52d97af62cf16b52cb88 /gcc/gimple-range-cache.cc
parent5afd208beaef50bcc43b556d4c41d41656b06436 (diff)
downloadgcc-335b55f4146c5ef9e3bf4bcb7e58e887c3150b02.zip
gcc-335b55f4146c5ef9e3bf4bcb7e58e887c3150b02.tar.gz
gcc-335b55f4146c5ef9e3bf4bcb7e58e887c3150b02.tar.bz2
mode-switching: Simplify recording of transparency
For a given block, an entity is either transparent for all modes or for none. Each update to the transparency set therefore used a loop like: for (i = 0; i < no_mode; i++) clear_mode_bit (transp[bb->index], j, i); This patch instead starts out with a bit-per-block bitmap and updates the main bitmap at the end. This isn't much of a simplification on its own. The main purpose is to simplify later patches. gcc/ * mode-switching.cc (optimize_mode_switching): Initially compute transparency in a bit-per-block bitmap.
Diffstat (limited to 'gcc/gimple-range-cache.cc')
0 files changed, 0 insertions, 0 deletions