summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-07-10 11:28:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-07-10 11:28:51 +0000
commit4d09892e9a6dcfaff5854dcf134e5dacfafadcd3 (patch)
treeb1e6a281dc0ffd3f4148fc9ba1b502448546a639 /llvm/lib/CodeGen/SelectionDAG
parentda5b4cc3395ea0489bcd6623521bc793b5f53742 (diff)
downloadbcm5719-llvm-4d09892e9a6dcfaff5854dcf134e5dacfafadcd3.tar.gz
bcm5719-llvm-4d09892e9a6dcfaff5854dcf134e5dacfafadcd3.zip
Give helper classes/functions internal linkage. NFC.
llvm-svn: 275014
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 8cce0efb32d..27ee96dfedf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -2731,7 +2731,7 @@ void SelectionDAGBuilder::visitFCmp(const User &I) {
// Check if the condition of the select has one use or two users that are both
// selects with the same condition.
-bool hasOnlySelectUsers(const Value *Cond) {
+static bool hasOnlySelectUsers(const Value *Cond) {
return std::all_of(Cond->user_begin(), Cond->user_end(), [](const Value *V) {
return isa<SelectInst>(V);
});
OpenPOWER on IntegriCloud