summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/Windows
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-07-07 06:54:42 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-07-07 06:54:42 +0000
commit1bc8af78f47ba20cb86fe61bcd979dcde1d72b6a (patch)
tree9d9801a8f425ec37bd520949ccad8956b52ac7aa /llvm/test/CodeGen/ARM/Windows
parent3fb33a5d189c11e5513338cb83a2871a85fd05c1 (diff)
downloadbcm5719-llvm-1bc8af78f47ba20cb86fe61bcd979dcde1d72b6a.tar.gz
bcm5719-llvm-1bc8af78f47ba20cb86fe61bcd979dcde1d72b6a.zip
[ARM] Define a subtarget feature and use it to decide whether long calls should
be emitted. This is needed to enable ARM long calls for LTO and enable and disable it on a per-function basis. Out-of-tree projects currently using EnableARMLongCalls to emit long calls should start passing "+long-calls" to the feature string (see the changes made to clang in r241565). rdar://problem/21529937 Differential Revision: http://reviews.llvm.org/D9364 llvm-svn: 241566
Diffstat (limited to 'llvm/test/CodeGen/ARM/Windows')
-rw-r--r--llvm/test/CodeGen/ARM/Windows/long-calls.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/Windows/long-calls.ll b/llvm/test/CodeGen/ARM/Windows/long-calls.ll
index 21c95fac91c..4e5bdce146f 100644
--- a/llvm/test/CodeGen/ARM/Windows/long-calls.ll
+++ b/llvm/test/CodeGen/ARM/Windows/long-calls.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -arm-long-calls -o - %s \
+; RUN: llc -mtriple=thumbv7-windows -mcpu=cortex-a9 -mattr=+long-calls -o - %s \
; RUN: | FileCheck %s
declare arm_aapcs_vfpcc void @callee()
OpenPOWER on IntegriCloud