]> granicus.if.org Git - clang/commit
[AArch64] Pass subtarget feature "+reserve-x18" instead of passing backend
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 Jul 2015 00:18:00 +0000 (00:18 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 Jul 2015 00:18:00 +0000 (00:18 +0000)
commitc870493a19bf05d129de653708dde3f53522d13d
tree7635f9f01840dbb26c5c75e7a95b9adf0bf10a99
parent423c227fa1eb27c8e0b5b8bac71ee99083c01a63
[AArch64] Pass subtarget feature "+reserve-x18" instead of passing backend
option "-aarch64-reserve-x18".

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/D11462

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243185 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp