diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /llvm/lib/Target/X86/X86InstrFMA3Info.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrFMA3Info.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrFMA3Info.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86InstrFMA3Info.cpp b/llvm/lib/Target/X86/X86InstrFMA3Info.cpp index 25bbdddb7a21e..6d803e931b685 100644 --- a/llvm/lib/Target/X86/X86InstrFMA3Info.cpp +++ b/llvm/lib/Target/X86/X86InstrFMA3Info.cpp @@ -116,11 +116,8 @@ static void verifyTables() { #ifndef NDEBUG static std::atomic<bool> TableChecked(false); if (!TableChecked.load(std::memory_order_relaxed)) { - assert(std::is_sorted(std::begin(Groups), std::end(Groups)) && - std::is_sorted(std::begin(RoundGroups), std::end(RoundGroups)) && - std::is_sorted(std::begin(BroadcastGroups), - std::end(BroadcastGroups)) && - "FMA3 tables not sorted!"); + assert(llvm::is_sorted(Groups) && llvm::is_sorted(RoundGroups) && + llvm::is_sorted(BroadcastGroups) && "FMA3 tables not sorted!"); TableChecked.store(true, std::memory_order_relaxed); } #endif |