aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-14 22:59:11 +0000
committerChris Lattner <sabre@nondot.org>2006-07-14 22:59:11 +0000
commite32982cc52fed3041d0a5a52b1d1fd6cc87d44c4 (patch)
tree58fa792a008c7f24e5ee31af29525885a3fd63ec /llvm/lib/CodeGen/MachineFunction.cpp
parent102584041780ade0b2e19a3f2f7194cf58a80d7d (diff)
downloadllvm-e32982cc52fed3041d0a5a52b1d1fd6cc87d44c4.zip
llvm-e32982cc52fed3041d0a5a52b1d1fd6cc87d44c4.tar.gz
llvm-e32982cc52fed3041d0a5a52b1d1fd6cc87d44c4.tar.bz2
Emit the string information for the asm writer as a single large string
and index into it, instead of emitting it like this: static const char * const OpStrs[] = { "PHINODE\n", // PHI 0, // INLINEASM "adc ", // ADC32mi "adc ", // ADC32mi8 ... The old way required thousands of relocations that slows down link time and dynamic load times. This also cuts about 10K off each of the X86 asmprinters, and should shrink the others as well. llvm-svn: 29152
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions