aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.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
commit6af022f255257bee7c6d6903ff4caa2217d51502 (patch)
treedd1b689c75e8d7372b67adc5372c2550946fa57c /lib/Target/PowerPC/PPCTargetMachine.cpp
parent53eca9466f5dc10bba86f94fa1a55a1e8f36baf2 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions