[llvm] r261441 - Fix for PR 26500

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 13:10:00 PST 2016

On Sat, Feb 20, 2016 at 10:16 AM, Nemanja Ivanovic via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: nemanjai
> Date: Sat Feb 20 12:16:25 2016
> New Revision: 261441
> URL: http://llvm.org/viewvc/llvm-project?rev=261441&view=rev
> Log:
> Fix for PR 26500
> This patch corresponds to review:
> http://reviews.llvm.org/D17294
> It ensures that whatever block we are emitting the prologue/epilogue into, we
> have the necessary scratch registers. It takes away the hard-coded register
> numbers for use as scratch registers as registers that are guaranteed to be
> available in the function prologue/epilogue are not guaranteed to be available
> within the function body. Since we shrink-wrap, the prologue/epilogue may end
> up in the function body.

I've merged this together with the follow-up commits r261447 and
r261546 to 3.8 in r261572.


More information about the llvm-commits mailing list