From cfca06d7963fa0909f90483b42a6d7d194d01e08 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 26 Jul 2020 19:36:28 +0000 Subject: Vendor import of llvm-project master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from which release/11.x was branched. --- llvm/lib/Target/Mips/MipsCCState.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Target/Mips/MipsCCState.cpp') diff --git a/llvm/lib/Target/Mips/MipsCCState.cpp b/llvm/lib/Target/Mips/MipsCCState.cpp index ef48c850a1b8..fe3fe82797c3 100644 --- a/llvm/lib/Target/Mips/MipsCCState.cpp +++ b/llvm/lib/Target/Mips/MipsCCState.cpp @@ -30,9 +30,9 @@ static bool isF128SoftLibCall(const char *CallSym) { // Check that LibCalls is sorted alphabetically. auto Comp = [](const char *S1, const char *S2) { return strcmp(S1, S2) < 0; }; - assert(std::is_sorted(std::begin(LibCalls), std::end(LibCalls), Comp)); - return std::binary_search(std::begin(LibCalls), std::end(LibCalls), - CallSym, Comp); + assert(llvm::is_sorted(LibCalls, Comp)); + return std::binary_search(std::begin(LibCalls), std::end(LibCalls), CallSym, + Comp); } /// This function returns true if Ty is fp128, {f128} or i128 which was -- cgit v1.2.3