diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-11-06 10:49:58 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-11-06 10:49:58 +0000 |
commit | a7a45364dddef399bfb550235166df51108a3142 (patch) | |
tree | 8e1948d50cc17514a215e485bfbe91913d685e05 /gcc/tree-vectorizer.h | |
parent | 17df6ddcf11aef6d200305d35641a7deb2f430e1 (diff) | |
download | gcc-a7a45364dddef399bfb550235166df51108a3142.zip gcc-a7a45364dddef399bfb550235166df51108a3142.tar.gz gcc-a7a45364dddef399bfb550235166df51108a3142.tar.bz2 |
explow: Allow dynamic allocations after vregs
This patch allows allocate_dynamic_stack_space to be called before
or after virtual registers have been instantiated. It uses the
same approach as allocate_stack_local, which already supported this.
gcc/
* function.h (get_stack_dynamic_offset): Declare.
* function.cc (get_stack_dynamic_offset): New function,
split out from...
(get_stack_dynamic_offset): ...here.
* explow.cc (allocate_dynamic_stack_space): Handle calls made
after virtual registers have been instantiated.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions