aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-13 09:26:26 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-13 09:26:26 +0000
commit82c2ee67dcef4ed9f1d40824cebc3edc2eb9a14c (patch)
treebb2f498c8fcc3fc68c9cfdc9c7e36eab8ca69502 /llvm/lib/IR/Attributes.cpp
parent51e31d211cfd868623b849c3f3d6c4efc95a5303 (diff)
downloadllvm-82c2ee67dcef4ed9f1d40824cebc3edc2eb9a14c.zip
llvm-82c2ee67dcef4ed9f1d40824cebc3edc2eb9a14c.tar.gz
llvm-82c2ee67dcef4ed9f1d40824cebc3edc2eb9a14c.tar.bz2
Use array_pod_sort.
llvm-svn: 175048
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 7d0bec2..3de304e 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -412,7 +412,7 @@ AttributeSetNode *AttributeSetNode::get(LLVMContext &C,
FoldingSetNodeID ID;
SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end());
- std::sort(SortedAttrs.begin(), SortedAttrs.end());
+ array_pod_sort(SortedAttrs.begin(), SortedAttrs.end());
for (SmallVectorImpl<Attribute>::iterator I = SortedAttrs.begin(),
E = SortedAttrs.end(); I != E; ++I)