diff options
| author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-08-21 07:49:05 +0000 |
|---|---|---|
| committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-08-21 07:49:05 +0000 |
| commit | 880f29157770a2fe51f08887c363e789f8d47ba6 (patch) | |
| tree | 7b6a588cb789735d9680b3219bcb634ac8322a61 /lldb/packages/Python/lldbsuite/test/configuration.py | |
| parent | f1dc867396a57afb26d91d1bd8d039817c263805 (diff) | |
| download | llvm-880f29157770a2fe51f08887c363e789f8d47ba6.zip llvm-880f29157770a2fe51f08887c363e789f8d47ba6.tar.gz llvm-880f29157770a2fe51f08887c363e789f8d47ba6.tar.bz2 | |
[RegisterCoalescer] Do not assert when trying to remat dead values
Summary:
RegisterCoalescer::reMaterializeTrivialDef used to assert that
the input register was live in. But as shown by the new
coalesce-dead-lanes.mir test case that seems to be a valid
scenario. We now return false instead of the assert, simply
avoiding to remat the dead def.
Normally a COPY of an undef value is eliminated by
eliminateUndefCopy(). Although we only do that when the
destination isn't a physical register. So the situation
above should be limited to the case when we copy an undef
value to a physical register.
Reviewers: kparzysz, wmi, tpr
Reviewed By: kparzysz
Subscribers: MatzeB, qcolombet, tpr, llvm-commits
Differential Revision: https://reviews.llvm.org/D50842
llvm-svn: 340255
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions
