diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-11-06 18:23:32 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-11-06 18:23:32 +0000 |
commit | e3a5fc6d80ce33a22e62e731996e75e485c53480 (patch) | |
tree | c7be0f201069407c6d136527c276f36ed9c06595 /llvm/test/Transforms/InferFunctionAttrs/annotate.ll | |
parent | 786760a9f6e6f92088aeafae5f06de092e9fc4df (diff) | |
download | bcm5719-llvm-e3a5fc6d80ce33a22e62e731996e75e485c53480.tar.gz bcm5719-llvm-e3a5fc6d80ce33a22e62e731996e75e485c53480.zip |
Disable calls to *_finite and other glibc-only functions on Musl.
Non-GNU environments don't have __finite_*, so treat them as
unavailable.
Differential Revision: https://reviews.llvm.org/D51282
llvm-svn: 346250
Diffstat (limited to 'llvm/test/Transforms/InferFunctionAttrs/annotate.ll')
-rw-r--r-- | llvm/test/Transforms/InferFunctionAttrs/annotate.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll index 37dfe41cfcb..161873be56e 100644 --- a/llvm/test/Transforms/InferFunctionAttrs/annotate.ll +++ b/llvm/test/Transforms/InferFunctionAttrs/annotate.ll @@ -1,7 +1,7 @@ ; RUN: opt < %s -mtriple=x86_64-- -inferattrs -S | FileCheck %s ; RUN: opt < %s -mtriple=x86_64-- -passes=inferattrs -S | FileCheck %s ; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -inferattrs -S | FileCheck -check-prefix=CHECK -check-prefix=CHECK-DARWIN %s -; RUN: opt < %s -mtriple=x86_64-unknown-linux -inferattrs -S | FileCheck -check-prefix=CHECK -check-prefix=CHECK-LINUX %s +; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -inferattrs -S | FileCheck -check-prefix=CHECK -check-prefix=CHECK-LINUX %s ; RUN: opt < %s -mtriple=nvptx -inferattrs -S | FileCheck -check-prefix=CHECK-NVPTX %s ; operator new routines |