[llvm-dev] Recent -Os code size regressions

Steve King via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 1 14:11:04 PST 2015

On Fri, Nov 20, 2015 at 5:06 PM, James Molloy <james at jamesmolloy.co.uk> wrote:
> Hi,
> We'd need to look precisely at what's causing the code size bloat. The
> midend commit pointed out by Steve shouldn't cause bloat in and of itself -
> it should reduce code size. It removes a load of stores and branches.

Hi James, Sounds like your patch should have been the best of both
worlds, so can you investigate the -Os code size mystery?  Does the
problem even occur in your tests?  If you don't have time, then
Kevin's idea to bypass the problem for now with an optsize check makes
sense to me.


More information about the llvm-dev mailing list