[PATCH] D93838: [LLVM] [SCCP] : Add Function Specialization pass
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 19 23:29:09 PDT 2021
ChuanqiXu added a comment.
In D93838#2695205 <https://reviews.llvm.org/D93838#2695205>, @SjoerdMeijer wrote:
> @ChuanqiXu: I have started looking at increased compile-times, and experimented with the biggest outlier you reported:
>
> 500.perlbench_r 27%
>
> In my experiment I think I see less than 1% compile time increase with this patch.
> Would you mind double checking this for me with the latest patch? Would be good to get a confirmation to make sure we are on the same page.
I just re-build 500.perlbench_r and find 6.5% increase based on the revision 330436. I think the successive revision just didn't contribute to compile-time. I would do other experiments to confirm this.
BTW, the first time I tried to do experiment I made a mistake which didn't pass the argument to the linker actually. I mean:
- LDOPTIMIZE: -flto=full -fuse-ld=lld -mllvm -function-specialize-level=aggressive
+ LDOPTIMIZE: -flto=full -fuse-ld=lld -Wl,-mllvm -Wl,-function-specialize-level=aggressive
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93838/new/
https://reviews.llvm.org/D93838
More information about the llvm-commits
mailing list