[llvm-commits] [llvm] r82040 - /llvm/trunk/lib/CodeGen/MachineModuleInfoImpls.cpp
Chris Lattner
clattner at apple.com
Thu Sep 17 16:05:02 PDT 2009
On Sep 16, 2009, at 10:17 PM, Nick Lewycky wrote:
> Benjamin Kramer wrote:
>> Author: d0k
>> Date: Wed Sep 16 06:43:12 2009
>> New Revision: 82040
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=82040&view=rev
>> Log:
>> Don't sort the vector when it is empty. This should fix some
>> expensive checking
>> failures.
>
> qsort? Why are we using qsort?
What is wrong with qsort? It turns that it generates dramatically
smaller code than std::sort.
-Chris
More information about the llvm-commits
mailing list