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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 09:35:32 PDT 2016


LGTM.

The largest speedup I noticed when using two ltoed llds was when
linking scylladb. From 4.246328024 to 4.185731084. 1.014477026541795
times faster.

Cheers,
Rafael


On 25 May 2016 at 02:11, Rui Ueyama via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>


More information about the llvm-commits mailing list