summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-09-18 13:18:21 +0000
committerJohn Brawn <john.brawn@arm.com>2018-09-18 13:18:21 +0000
commit83d7414e196ae9e7a6c1721c6356b5f2e8dfc919 (patch)
tree43873ac96a723195f22d9ceff0ff818a0ddb8909 /llvm/test/CodeGen/AArch64
parentb466bb24b6f752da1098ea830277bad9c3b61209 (diff)
downloadbcm5719-llvm-83d7414e196ae9e7a6c1721c6356b5f2e8dfc919.tar.gz
bcm5719-llvm-83d7414e196ae9e7a6c1721c6356b5f2e8dfc919.zip
[TargetLowering] Android has sincos functions
Since Android API version 9 the Android libm has had the sincos functions, so they should be recognised as libcalls and sincos optimisation should be applied. Differential Revision: https://reviews.llvm.org/D52025 llvm-svn: 342471
Diffstat (limited to 'llvm/test/CodeGen/AArch64')
-rw-r--r--llvm/test/CodeGen/AArch64/arm64-sincos.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-sincos.ll b/llvm/test/CodeGen/AArch64/arm64-sincos.ll
index 98876dbe87b..2a62293b521 100644
--- a/llvm/test/CodeGen/AArch64/arm64-sincos.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-sincos.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -mtriple=arm64-apple-ios7 | FileCheck %s --check-prefix CHECK-IOS
; RUN: llc < %s -mtriple=arm64-linux-gnu | FileCheck %s --check-prefix CHECK-LINUX
+; RUN: llc < %s -mtriple=arm64-linux-android | FileCheck %s --check-prefix CHECK-LINUX
; Combine sin / cos into a single call unless they may write errno (as
; captured by readnone attrbiute, controlled by clang -fmath-errno
OpenPOWER on IntegriCloud