[llvm-commits] [llvm] r82040 - /llvm/trunk/lib/CodeGen/MachineModuleInfoImpls.cpp
clattner at apple.com
Thu Sep 17 18:05:02 CDT 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
>> Don't sort the vector when it is empty. This should fix some
>> expensive checking
> qsort? Why are we using qsort?
What is wrong with qsort? It turns that it generates dramatically
smaller code than std::sort.
More information about the llvm-commits