ARM: R9 is not safe to use for tcGPR.
authorJim Grosbach <grosbach@apple.com>
Thu, 22 Aug 2013 00:14:24 +0000 (00:14 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 22 Aug 2013 00:14:24 +0000 (00:14 +0000)
commite2a48fbd9d1ec8bebb5b10cf8770d716f8bdda28
tree9d753f7bd235e224026a41ed41fb81ddb084268f
parent55d4c38074145bf9f594142b6b4cdca60699f4d1
ARM: R9 is not safe to use for tcGPR.

Indirect tail-calls shouldn't use R9 for the branch destination, as
it's not reliably a call-clobbered register.

rdar://14793425

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMRegisterInfo.td
test/CodeGen/Thumb2/tail-call-r9.ll [new file with mode: 0644]