Avoid assert/crash during liveness calculation in situations
where the incoming machine function has statically unreachable BBs.
Second attempt at submitting; tis version of the change includes
a revised testcase.
Fixes PR37130.
Paths
| Differential D47372
StackColoring: better handling of statically unreachable code ClosedPublic Authored by thanm on May 25 2018, 6:40 AM.
Details Summary Avoid assert/crash during liveness calculation in situations Fixes PR37130.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 29 2018, 5:58 AM Closed by commit rL333416: StackColoring: better handling of statically unreachable code (authored by thanm). · Explain WhyMay 29 2018, 6:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148899 llvm/trunk/lib/CodeGen/StackColoring.cpp
llvm/trunk/test/CodeGen/X86/PR37310.mir
|