[PATCH] D20613: Make SectionPiece 8 bytes smaller on LP64.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 23:11:39 PDT 2016


ruiu created this revision.
ruiu added a reviewer: silvas.
ruiu added a subscriber: llvm-commits.

This patch makes SectionPiece class 8 bytes smaller on platforms
on which pointer size is 8 bytes. Sean suggested in a post commit
review for r270340 that this could make a differentce, and it
actually is. Time to link clang (with debug info) improved from
6.725 seconds to 6.589 seconds or by 2%.

http://reviews.llvm.org/D20613

Files:
  ELF/InputSection.h
  ELF/OutputSections.cpp
  ELF/OutputSections.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20613.58387.patch
Type: text/x-patch
Size: 4199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160525/648ada14/attachment.bin>


More information about the llvm-commits mailing list