diff options
| author | Sameer AbuAsal <sabuasal@codeaurora.org> | 2017-08-03 02:41:17 +0000 |
|---|---|---|
| committer | Sameer AbuAsal <sabuasal@codeaurora.org> | 2017-08-03 02:41:17 +0000 |
| commit | c8befe687f613b12a64b7145ef32fc5685e175b4 (patch) | |
| tree | 55930f957190e19a13fad8dd534766db3d06b72c /lldb/source/Expression | |
| parent | 993bbbf19ed4f6827bf9f3c2c0d7da0e504bac10 (diff) | |
| download | bcm5719-llvm-c8befe687f613b12a64b7145ef32fc5685e175b4.tar.gz bcm5719-llvm-c8befe687f613b12a64b7145ef32fc5685e175b4.zip | |
[RegisterCoalescer] Add wrapper for Erasing Instructions
Summary:
To delete an instruction the coalescer needs to call eraseFromParent()
on the MachineInstr, insert it in the ErasedInstrs list and update the
Live Ranges structure. This patch re-factors the code to do all that in
one function. This will also fix cases where previous code wasn't
inserting deleted instructions in the ErasedList.
Reviewers: qcolombet, kparzysz
Reviewed By: qcolombet
Subscribers: MatzeB, llvm-commits, qcolombet
Differential Revision: https://reviews.llvm.org/D36204
llvm-svn: 309915
Diffstat (limited to 'lldb/source/Expression')
0 files changed, 0 insertions, 0 deletions

