aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-05-24 12:36:28 +0200
committerRichard Biener <rguenther@suse.de>2023-05-24 13:17:10 +0200
commit5476de2618ffb77f3a52e59e2c9f10b018329689 (patch)
tree5c1c12fb0740946faf080c128b990518770fbe84 /gcc/value-range.h
parentaa8b363171a95b8f867a74f29c75f9577e9087e1 (diff)
downloadgcc-5476de2618ffb77f3a52e59e2c9f10b018329689.zip
gcc-5476de2618ffb77f3a52e59e2c9f10b018329689.tar.gz
gcc-5476de2618ffb77f3a52e59e2c9f10b018329689.tar.bz2
tree-optimization/109849 - fix fallout of PRE hoisting change
The PR109849 fix made us no longer hoist some memory loads because of the expression set intersection. We can still avoid to compute the union by simply taking the first sets expressions and leave the pruning of expressions with values not suitable for hoisting to sorted_array_from_bitmap_set. PR tree-optimization/109849 * tree-ssa-pre.cc (do_hoist_insertion): Do not intersect expressions but take the first sets. * gcc.dg/tree-ssa/ssa-hoist-9.c: New testcase.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions