OSDN Git Service

make arm-reserve-r9 available for all ARM
authorRenato Golin <renato.golin@linaro.org>
Thu, 15 Aug 2013 20:45:13 +0000 (20:45 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 15 Aug 2013 20:45:13 +0000 (20:45 +0000)
commit24adc8f60f0a39e45363eef5392fe1a7e27bd12f
treeebe12fbf3f22dc41de0d1fee5f3bfa2fe65fc2c6
parent873e392ffd6701f6724e4c2a7accd0a4e1f1e0a1
make arm-reserve-r9 available for all ARM

r9 is defined as a platform-specific register in the ARM EABI.
It can be reserved for a special purpose or be used as a general
purpose register. Add support for reserving r9 for all ARM, while
leaving the IOS usage unchanged.

Patch by Jeroen Hofstee.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188485 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp