aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-04-24 09:55:39 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-04-24 09:55:39 +0000
commitde83cbf37e8ac59d405b4d3ea2ce389e619bc901 (patch)
treef34e2247ddd4138d610c0a9fe7207c92a48af823 /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent19f9b814ddb01f6922fd47aa6066446aff3b9575 (diff)
downloadllvm-de83cbf37e8ac59d405b4d3ea2ce389e619bc901.zip
llvm-de83cbf37e8ac59d405b4d3ea2ce389e619bc901.tar.gz
llvm-de83cbf37e8ac59d405b4d3ea2ce389e619bc901.tar.bz2
[ELF] - Never use std::sort.
It turns out we should not use the std::sort anymore. r327219 added a new wrapper llvm::sort (D39245). When EXPENSIVE_CHECKS is defined, it shuffles the input container and that helps to find non-deterministic ordering. Patch changes code to use llvm::sort and std::stable_sort instead of std::sort Differential revision: https://reviews.llvm.org/D45969 llvm-svn: 330702
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions