[llvm-commits] [PATCH] AsmWriterEmitter: increase the number of bits for OpcodeInfo from 32-bit to 48-bit to reduce code size

Manman Ren mren at apple.com
Mon Sep 10 11:08:44 PDT 2012


TableGen: increase the number of bits for OpcodeInfo from 32-bit to 48-bit if
necessary, in order to reduce the generated code size by AsmWriterEmitter.

We have 900 cases not covered by OpcodeInfo in ATT AsmWriter and more in Intel
AsmWriter and ARM AsmWriter.

This patch reduced the clang Release build size by 50k, running on a Mac Pro.

Thanks for your feedback.
Manman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: X86Writer2.patch
Type: application/octet-stream
Size: 5454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120910/34606ddb/attachment.obj>


More information about the llvm-commits mailing list