[PATCH] D44870: [PowerPC] Change std::sort to llvm::sort in response to r327219

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 8 09:48:19 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL329535: [PowerPC] Change std::sort to llvm::sort in response to r327219 (authored by mgrang, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D44870?vs=139720&id=141554#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44870

Files:
  llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp


Index: llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
===================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -1394,7 +1394,7 @@
     for (auto &I : ValueRots) {
       ValueRotsVec.push_back(I.second);
     }
-    std::sort(ValueRotsVec.begin(), ValueRotsVec.end());
+    llvm::sort(ValueRotsVec.begin(), ValueRotsVec.end());
   }
 
   // In 64-bit mode, rlwinm and friends have a rotation operator that


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44870.141554.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180408/bd28830f/attachment.bin>


More information about the llvm-commits mailing list