aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-12-05 08:15:57 +0000
committerMatthias Braun <matze@braunis.de>2016-12-05 08:15:57 +0000
commitec0b0b548e1cfbe9ea4e9d3fc1c0f68e753818a0 (patch)
tree90df068b847efb19f4833a36a5513b386d21a95c /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentb3189a1802e493fd819b766c2051bda04f18617c (diff)
downloadllvm-ec0b0b548e1cfbe9ea4e9d3fc1c0f68e753818a0.zip
llvm-ec0b0b548e1cfbe9ea4e9d3fc1c0f68e753818a0.tar.gz
llvm-ec0b0b548e1cfbe9ea4e9d3fc1c0f68e753818a0.tar.bz2
TableGen/AsmMatcherEmitter: Trust that stable_sort works
A debug build of AsmMatcherEmitter would use a quadratic algorithm to check whether std::stable_sort() actually sorted. Let's hope the authors of our C++ standard library did that testing for us. Removing the check gives a 3x speedup in the X86 case. llvm-svn: 288655
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions