[PATCH] D44856: [AMDGPU] Change std::sort to llvm::sort in response to r327219
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 24 10:17:57 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328429: [AMDGPU] Change std::sort to llvm::sort in response to r327219 (authored by mgrang, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D44856?vs=139680&id=139717#toc
Repository:
rL LLVM
https://reviews.llvm.org/D44856
Files:
llvm/trunk/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
Index: llvm/trunk/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
+++ llvm/trunk/lib/Target/AMDGPU/GCNIterativeScheduler.cpp
@@ -433,7 +433,7 @@
// Sort recorded regions by pressure - highest at the front
void GCNIterativeScheduler::sortRegionsByPressure(unsigned TargetOcc) {
const auto &ST = MF.getSubtarget<SISubtarget>();
- std::sort(Regions.begin(), Regions.end(),
+ llvm::sort(Regions.begin(), Regions.end(),
[&ST, TargetOcc](const Region *R1, const Region *R2) {
return R2->MaxPressure.less(ST, R1->MaxPressure, TargetOcc);
});
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44856.139717.patch
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180324/a6a1d977/attachment.bin>
More information about the llvm-commits
mailing list