aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-09-10 06:07:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-09-10 06:07:03 +0000
commit477121721bd8b103d2785f5fdf3f110e54dc0e54 (patch)
treee76a7e758f6b8bc8af9fb60afdea53e5a03f4d9b /llvm/lib/Support/GraphWriter.cpp
parent93d5d3b5dbf9c01b60c41136482668e38e5a3806 (diff)
downloadllvm-477121721bd8b103d2785f5fdf3f110e54dc0e54.zip
llvm-477121721bd8b103d2785f5fdf3f110e54dc0e54.tar.gz
llvm-477121721bd8b103d2785f5fdf3f110e54dc0e54.tar.bz2
[ADT] Add a single-character version of the small vector split routine
on StringRef. Finding and splitting on a single character is substantially faster than doing it on even a single character StringRef -- we immediately get to a *very* tuned memchr call this way. Even nicer, we get to this even in a debug build, shaving 18% off the runtime of TripleTest.Normalization, helping PR23676 some more. llvm-svn: 247244
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions