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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Mar 25 11:50:48 PDT 2013


On 25 March 2013 11:45, Nadav Rotem <nrotem at apple.com> wrote:
> 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 ?

There was a thread about simplifycfg and llvm.lifetime intrinsics some
time ago, but unfortunately I don't remember if we got to a conclusion
of what exactly the semantics are. You should be able to find the
thread ind the archives. The subject is "Can simplifycfg kill
llvm.lifetime intrinsics"

Cheers,
Rafael



More information about the cfe-commits mailing list