summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSameer AbuAsal <sabuasal@codeaurora.org>2017-08-03 02:41:17 +0000
committerSameer AbuAsal <sabuasal@codeaurora.org>2017-08-03 02:41:17 +0000
commitc8befe687f613b12a64b7145ef32fc5685e175b4 (patch)
tree55930f957190e19a13fad8dd534766db3d06b72c /clang/lib/Frontend/CompilerInvocation.cpp
parent993bbbf19ed4f6827bf9f3c2c0d7da0e504bac10 (diff)
downloadbcm5719-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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud