diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-02-11 20:45:19 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2019-02-11 20:45:19 +0000 |
commit | 24e0af69066e1d5ab0a6b4d75ff81d57f5b02f18 (patch) | |
tree | 5b35571cfeb8addd9a5cc6b40e9548e4223333fc /llvm/lib/CodeGen/GlobalISel/Combiner.cpp | |
parent | 75eb0af874b76212e1efa98117578274d5d68319 (diff) | |
download | bcm5719-llvm-24e0af69066e1d5ab0a6b4d75ff81d57f5b02f18.tar.gz bcm5719-llvm-24e0af69066e1d5ab0a6b4d75ff81d57f5b02f18.zip |
[globalisel] Correct string emitted by GISelChangeObserver::erasingInstr()
The API indicates that the MI is about to be erased rather than it has been erased.
llvm-svn: 353746
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/Combiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/Combiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/Combiner.cpp b/llvm/lib/CodeGen/GlobalISel/Combiner.cpp index 33e28931ebe..093702bd45d 100644 --- a/llvm/lib/CodeGen/GlobalISel/Combiner.cpp +++ b/llvm/lib/CodeGen/GlobalISel/Combiner.cpp @@ -50,7 +50,7 @@ public: } void erasingInstr(MachineInstr &MI) override { - LLVM_DEBUG(dbgs() << "Erased: " << MI << "\n"); + LLVM_DEBUG(dbgs() << "Erasing: " << MI << "\n"); WorkList.remove(&MI); } void createdInstr(MachineInstr &MI) override { |