diff options
author | Jim Grosbach <grosbach@apple.com> | 2013-10-24 23:07:11 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2013-10-24 23:07:11 +0000 |
commit | 1d1d6d4675ae21ce8123b0b932cc6eb5673166e0 (patch) | |
tree | 7dd5653af44b317274e927d5551312bb0182df49 /llvm/test/CodeGen/ARM/darwin-eabi.ll | |
parent | 9b2349888fed43c91d266ef173b8e71e000d4c8b (diff) | |
download | bcm5719-llvm-1d1d6d4675ae21ce8123b0b932cc6eb5673166e0.tar.gz bcm5719-llvm-1d1d6d4675ae21ce8123b0b932cc6eb5673166e0.zip |
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
llvm-svn: 193381
Diffstat (limited to 'llvm/test/CodeGen/ARM/darwin-eabi.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/darwin-eabi.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/darwin-eabi.ll b/llvm/test/CodeGen/ARM/darwin-eabi.ll index e0c20373ba2..f0696b3bd05 100644 --- a/llvm/test/CodeGen/ARM/darwin-eabi.ll +++ b/llvm/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 |