]> granicus.if.org Git - llvm/commit
ARM-Darwin: keep the frame register reserved even if not updated.
authorTim Northover <tnorthover@apple.com>
Fri, 4 Oct 2019 12:29:32 +0000 (12:29 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 4 Oct 2019 12:29:32 +0000 (12:29 +0000)
commitdc3e84b27df3f364c6efc3e4c80dc6ae08f7b654
tree79cd4bfa3a4d4f4e0d7ba197434cc603eededf51
parent1ec43d2bfc9393ebcfb41bcf3ebf0b50393f844e
ARM-Darwin: keep the frame register reserved even if not updated.

Darwin platforms need the frame register to always point at a valid record even
if it's not updated in a leaf function. Backtraces are more important than one
extra GPR.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
test/CodeGen/ARM/r7-fixed-darwin.ll [new file with mode: 0644]
test/CodeGen/Thumb/long.ll
test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll