]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove global call sets: haifa-sched.c
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2019 16:20:48 +0000 (16:20 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Sep 2019 16:20:48 +0000 (16:20 +0000)
commit5859c8a32a3d998881d27bdd8d2962717f4cbf34
treebb5ef760e2227bbfc2748b3d40676f2bf09f9403
parent8693958dbcc0915c0dd568dcec39f61963b34ac8
Remove global call sets: haifa-sched.c

The code patched here is counting how many registers the current
function would need to save in the prologue before it uses them.
The code is called per function, so using crtl is OK.

2019-09-30  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* haifa-sched.c: Include function-abi.h.
(alloc_global_sched_pressure_data): Use crtl->abi to check whether
the function would need to save a register before using it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276324 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c