[llvm-dev] Code size BoF @ Developers' Meeting

Robinson, Paul via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 28 11:00:08 PDT 2020



> -----Original Message-----
> From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Sean Bartell
> via llvm-dev
> Sent: Sunday, September 27, 2020 2:14 PM
> To: llvm-dev <llvm-dev at lists.llvm.org>
> Cc: aditya kumar <hiraditya at gmail.com>; Vikram Adve <vadve at illinois.edu>
> Subject: [llvm-dev] Code size BoF @ Developers' Meeting
> 
> Hi all,
> 
> For those of you attending the upcoming Developers' Meeting, I'll be
> running a Birds-of-a-Feather about code size optimization. It'll be on
> Oct. 6 at 9:30am PDT, immediately after Aditya Kumar's tech talk on the
> same subject.
> 
> There are several topics I think we could potentially discuss:
> (1) Situations where people have needed to optimize code size.

There's been some interest lately in doing less optimization on cold code;
see for example https://reviews.llvm.org/D87337 which slaps 'optnone' on
cold functions.  But it might be better to optimize cold code for size.
That's maybe not so easy with LLVM's one-pipeline-for-all design.
--paulr

> (2) Situations where other compilers currently optimize code size better
> than LLVM.
> (3) A survey of academic and experimental techniques for reducing code
> size, including our own, ranging from outlining to program specialization.
> (4) Which techniques and improvements would be most beneficial to add to
> LLVM?
> 
> But that's a lot to cover, and I want to make sure we spend our time on
> the areas people are most interested in. What would you most like to have
> a discussion about?
> 
> Sean
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://urldefense.com/v3/__https://lists.llvm.org/cgi-
> bin/mailman/listinfo/llvm-dev__;!!JmoZiZGBv3RvKRSx!sQr-
> aplws6oMYUMvhzLtgsG20dFEIAFk8p_pf4vPGb96_XmgWoSKXgMBf_3ZMtRZtQ$


More information about the llvm-dev mailing list