[PATCH] D44874: [X86] Change std::sort to llvm::sort in response to r327219
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 26 12:34:25 PDT 2018
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:11673
copy_if(LoMask, std::back_inserter(LoInputs), [](int M) { return M >= 0; });
- std::sort(LoInputs.begin(), LoInputs.end());
+ llvm::sort(LoInputs.begin(), LoInputs.end());
LoInputs.erase(std::unique(LoInputs.begin(), LoInputs.end()), LoInputs.end());
----------------
I wonder if these would be better as array_pod_sort
Repository:
rL LLVM
https://reviews.llvm.org/D44874
More information about the llvm-commits
mailing list