[llvm-commits] [PATCH] Compress Repeated Byte Output

David Greene dag at cray.com
Mon Aug 29 12:18:08 PDT 2011


Emit a repeated sequence of bytes using .zero.  This saves an enormous
amount of asm file space for certain programs.
---

Here's another updated version of the patch, including testcase.

                        -Dave

 lib/CodeGen/AsmPrinter/AsmPrinter.cpp        |   62 ++++++++++++++++++++++++-
 test/CodeGen/X86/2011-08-29-BlockConstant.ll |   37 +++++++++++++++
 2 files changed, 96 insertions(+), 3 deletions(-)
 create mode 100644 test/CodeGen/X86/2011-08-29-BlockConstant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Compress-Repeated-Byte-Output.patch
Type: text/x-patch
Size: 5598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110829/5d85d91a/attachment.bin>


More information about the llvm-commits mailing list