]> granicus.if.org Git - clang/commit
[ARM] Pass subtarget feature "+reserve-r9" instead of passing backend
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 20 Jul 2015 23:20:53 +0000 (23:20 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 20 Jul 2015 23:20:53 +0000 (23:20 +0000)
commitdfc90655662a0704da39a0a8cb0f341155378e2c
treed4d9c1d6726b5fd70f1707ce486233f61d094dec
parentb8f61114ae450efd13d70c4ffa3c21070682ee0a
[ARM] Pass subtarget feature "+reserve-r9" instead of passing backend
option "-arm-reserve-r9".

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@242736 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/arm-fixed-r9.c