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)
commit6a7a727174830d448cfcede4090ab7edc3b6d19a
tree83d8cf956694ae836c084b63776d0a56e53d18fc
parentb4fae7c3d036da77f63c67d4453ac6df241f2af2
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

llvm-svn: 188967
llvm/lib/Target/ARM/ARMRegisterInfo.td
llvm/test/CodeGen/Thumb2/tail-call-r9.ll [new file with mode: 0644]