r177819 - Make clang to mark static stack allocations with lifetime markers to enable a more aggressive stack coloring.

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Mon Mar 25 12:02:14 PDT 2013


Nadav Rotem <nrotem at apple.com> wrote on 25.03.2013 19:45:15:

> It sounds like one of the IR-level optimization breaks when lifetime
> markers are added. Do you know which optimization it may be ? I see
> the name "SROA" in the _correct_ version of the IR. Is there another
> optimization that may mess with vector loads ?

I tried invoking clang with -O0 and running the result through "opt"
separately, but then I get the correct output again.

Is there a way to have clang itself show the output after each
optimization phase, like opt -print-after-all does?

Bye,
Ulrich




More information about the cfe-commits mailing list