aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-10-24 23:07:11 +0000
committerJim Grosbach <grosbach@apple.com>2013-10-24 23:07:11 +0000
commit3115047182dfa0e4692901e897a58e5be3329423 (patch)
tree701a274ee4dfa0accd2a7e97a86118f6245fe982 /test/CodeGen/ARM
parent5759c3a02902026a27a0d1bc24a5bad85f52bd71 (diff)
downloadexternal_llvm-3115047182dfa0e4692901e897a58e5be3329423.zip
external_llvm-3115047182dfa0e4692901e897a58e5be3329423.tar.gz
external_llvm-3115047182dfa0e4692901e897a58e5be3329423.tar.bz2
ARM: Tweak usage of '*vfp' compiler_rt functions.
Only use them if the subtarget has ARM mode, as these routines are implemented as ARM code. rdar://15302004 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/darwin-eabi.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/darwin-eabi.ll b/test/CodeGen/ARM/darwin-eabi.ll
index e0c2037..f0696b3 100644
--- a/test/CodeGen/ARM/darwin-eabi.ll
+++ b/test/CodeGen/ARM/darwin-eabi.ll
@@ -1,5 +1,5 @@
-; RUN: llc -mtriple=thumbv7m-apple-darwin-eabi -mcpu=cortex-m3 < %s | FileCheck %s --check-prefix=CHECK-M3
-; RUN: llc -mtriple=thumbv7em-apple-darwin-eabi -mcpu=cortex-m4 < %s | FileCheck %s --check-prefix=CHECK-M4
+; RUN: llc -mtriple=thumbv7m-apple-darwin -mcpu=cortex-m3 < %s | FileCheck %s --check-prefix=CHECK-M3
+; RUN: llc -mtriple=thumbv7em-apple-darwin -mcpu=cortex-m4 < %s | FileCheck %s --check-prefix=CHECK-M4
define float @float_op(float %lhs, float %rhs) {
%sum = fadd float %lhs, %rhs