]> granicus.if.org Git - clang/commit
[ARM] Pass subtarget feature "+reserve-r9" instead of passing backend
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 21 Jul 2015 01:41:08 +0000 (01:41 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 21 Jul 2015 01:41:08 +0000 (01:41 +0000)
commitc2e7bae2f2078bebe912f0345988f98196271857
tree0aee13220719a9e01d26668a61d557271c431f0d
parentce95e4dcf4f15083647ac058601ce435ac9ed1fa
[ARM] Pass subtarget feature "+reserve-r9" instead of passing backend
option "-arm-reserve-r9".

This recommits r242736, which had to be reverted because the llvm-side
change that was committed in r242737 caused the number of subtarget
features to go over the limit of 64.

This change is needed since backend options do not make it to the backend
when doing LTO and are not capable of changing the behavior of code-gen
passes on a per-function basis.

rdar://problem/21529937

Differential Revision: http://reviews.llvm.org/D11319

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/arm-fixed-r9.c