Re-enable lifetime-start-on-first-use for stack coloring,
but explicitly disable it for slots with more than one start
lifetime marker.
Bug: 27903
Paths
| Differential D20739
Better fix for PR27903. ClosedPublic Authored by thanm on May 27 2016, 11:06 AM.
Details Summary Re-enable lifetime-start-on-first-use for stack coloring, Bug: 27903
Diff Detail Event Timelinethanm updated this object.
This revision is now accepted and ready to land.Jun 1 2016, 10:28 AM Closed by commit rL271412: Better fix for PR27903. (authored by thanm). · Explain WhyJun 1 2016, 11:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 59239 lib/CodeGen/StackColoring.cpp
test/CodeGen/X86/StackColoring.ll
|
It may be a stupid question. I am wondering is it possible for one slot to have one Lifetime_start and two Livetime_end? Could it be more safe to use NumEndLifetimes[] > 1 as the condition to fall back?