]> granicus.if.org Git - clang/commit
[ARM] Pass subtarget feature "+no-movt" instead of passing backend option
authorAkira Hatanaka <ahatanaka@apple.com>
Thu, 16 Jul 2015 00:43:00 +0000 (00:43 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Thu, 16 Jul 2015 00:43:00 +0000 (00:43 +0000)
commitcd0f3da09c8b80e354b6bcb86529d560b4fbb955
treeacb733c3b51b3b0bc29c8d058b701c03c7c03cbb
parent8b3a64dc0ac3143e9b6db0c7f1a5c6aa6035e4dd
[ARM] Pass subtarget feature "+no-movt" instead of passing backend option
"-arm-use-movt=0".

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242368 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/CodeGen/arm-no-movt.c [new file with mode: 0644]
test/Driver/arm-no-movt.c [new file with mode: 0644]