aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-13 15:27:57 +0000
committerDan Gohman <gohman@apple.com>2009-08-13 15:27:57 +0000
commitd6c0f65b532f022e584d8f1e3c044593b4c74a99 (patch)
tree4161c57241b89e4d97111bdc0bd07f2b797a8291 /lib/Support/raw_ostream.cpp
parent8db5cce0217a2b76a954cb97de95c91e76edf59c (diff)
Fix a 4x slowdown in llc -asm-verbose caused by the use of
WriteAsOperand in more places. Now that more things are using WriteAsOperand, its behavior of constructing a TypePrinting object and populating it with strings for all the numbered types in the Module on each call is a significant bottleneck. Fancier solutions could be pursued here, but for now, just bypass the TypePrinting overhead in obvious cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions