diff options
| author | Tim Renouf <tpr.llvm@botech.co.uk> | 2018-07-17 12:38:39 +0000 |
|---|---|---|
| committer | Tim Renouf <tpr.llvm@botech.co.uk> | 2018-07-17 12:38:39 +0000 |
| commit | e1016f1bc793457867c6e91f1f13a61c50eab571 (patch) | |
| tree | b01c17f7eb81dce632a6586f5b4400d51f2fa998 /llvm/lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp | |
| parent | 5dabcf887be1522d78ce3e07ccb055bbe60a7bf4 (diff) | |
| download | bcm5719-llvm-e1016f1bc793457867c6e91f1f13a61c50eab571.tar.gz bcm5719-llvm-e1016f1bc793457867c6e91f1f13a61c50eab571.zip | |
More fixes for subreg join failure in RegCoalescer
Summary:
Part of the adjustCopiesBackFrom method wasn't correctly dealing with SubRange
intervals when updating.
2 changes. The first to ensure that bogus SubRange Segments aren't propagated when
encountering Segments of the form [1234r, 1234d:0) when preparing to merge value
numbers. These can be removed in this case.
The second forces a shrinkToUses call if SubRanges end on the copy index
(instead of just the parent register).
V2: Addressed review comments, plus MIR test instead of ll test
Subscribers: MatzeB, qcolombet, nhaehnle
Differential Revision: https://reviews.llvm.org/D40308
Change-Id: I1d2b2b4beea802fce11da01edf71feb2064aab05
llvm-svn: 337273
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp')
0 files changed, 0 insertions, 0 deletions

