summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit8061d9e23fbf74805c98e23de5810deff4fa4d95 (patch)
tree815f1e9e28dfde07120160b278c9373e4c6412cc /clang/lib/CodeGen/CodeGenModule.cpp
parent695e1c608708d6c72beaf2e90c1d36262e66eb63 (diff)
downloadbcm5719-llvm-8061d9e23fbf74805c98e23de5810deff4fa4d95.tar.gz
bcm5719-llvm-8061d9e23fbf74805c98e23de5810deff4fa4d95.zip
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. llvm-svn: 78906
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud