HomePhabricator

[RISCV] Reserve an emergency spill slot for the register scavenger when…

Authored by asb on Jan 11 2018, 3:17 AM.

Description

[RISCV] Reserve an emergency spill slot for the register scavenger when necessary

Although the register scavenger can often find a spare register, an emergency
spill slot is needed to guarantee success. Reserve this slot in cases where
the function is known to have a large stack (meaning the scavenger may be
needed when forming stack addresses).

llvm-svn: 322269

Details

Committed
asbJan 11 2018, 3:17 AM
Parents
rGda45439fbaeb: [Lex] Use WritableMemoryBuffer in ScratchBuffer.cpp
Branches
Unknown
Tags
Unknown