aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-11-10 16:49:50 +0100
committerAldy Hernandez <aldyh@redhat.com>2021-11-10 16:51:30 +0100
commiteaec20fde587e0695b100dcba5ff56944c3ae8c0 (patch)
tree6949722bd144c1aa8b897a41686a99f14ecdc162 /gcc/tree-vectorizer.c
parent5ba247ade1cc0ca06a0f7d3483b0520ba98bf2d2 (diff)
downloadgcc-eaec20fde587e0695b100dcba5ff56944c3ae8c0.zip
gcc-eaec20fde587e0695b100dcba5ff56944c3ae8c0.tar.gz
gcc-eaec20fde587e0695b100dcba5ff56944c3ae8c0.tar.bz2
Grow sbr_vector in ranger's on-entry cache as needed.
The on-entry cache does not expect the number of BBs to change. This could happen in various scenarios, recently in the suggestion to use ranger with loop unswitching and also with a work in progress to use the path solver in the loopch pass. This patch fixes both. This is a patch from Andrew, who tested it on x86-64 Linux. gcc/ChangeLog: * gimple-range-cache.cc (sbr_vector::grow): New. (sbr_vector::set_bb_range): Call grow. (sbr_vector::get_bb_range): Same. (sbr_vector::bb_range_p): Remove assert.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions