diff options
| author | Dan Gohman <gohman@apple.com> | 2009-08-13 15:27:57 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-08-13 15:27:57 +0000 |
| commit | 8061d9e23fbf74805c98e23de5810deff4fa4d95 (patch) | |
| tree | 815f1e9e28dfde07120160b278c9373e4c6412cc /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | |
| parent | 695e1c608708d6c72beaf2e90c1d36262e66eb63 (diff) | |
| download | llvm-8061d9e23fbf74805c98e23de5810deff4fa4d95.zip llvm-8061d9e23fbf74805c98e23de5810deff4fa4d95.tar.gz llvm-8061d9e23fbf74805c98e23de5810deff4fa4d95.tar.bz2 | |
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 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
0 files changed, 0 insertions, 0 deletions
