commit | 228f43d82feef56c1b9bb759683a583adc0a1b0d | [log] [tgz] |
---|---|---|
author | Mandeep Singh Grang <mgrang@codeaurora.org> | Thu Oct 26 16:07:20 2017 +0000 |
committer | Mandeep Singh Grang <mgrang@codeaurora.org> | Thu Oct 26 16:07:20 2017 +0000 |
tree | 78adff9cae131cf858b8e7a49a6393647d6ea391 | |
parent | e7df36ebba1063cee0ea8ec06d742bd0f8af7384 [diff] |
[MachineModuleInfoImpls] Replace qsort with array_pod_sort Summary: This seems to be the only place in llvm we directly call qsort. We can replace this with a call to array_pod_sort. Also minor cleanup of the sorting function. Reviewers: bkramer, Eugene.Zelenko, rafael Reviewed By: bkramer Subscribers: efriedma, llvm-commits Differential Revision: https://reviews.llvm.org/D39214 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316671 91177308-0d34-0410-b5e6-96231b3b80d8