Add debug output to MipsDelaySlotFiller pass
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 4 Dec 2019 10:05:02 +0000 (10:05 +0000)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 4 Dec 2019 11:30:00 +0000 (11:30 +0000)
commit0cc4b959851e7a2e98388a34e634fa922a1bc444
tree5ec633611075a5a4f9c692ef1e55a968130fc9fe
parentba71e84430f98639957f002bf424aef5248832c7
Add debug output to MipsDelaySlotFiller pass

Summary:
I was tracking down a code-generation bug in this pass and found that the
added output was useful. It is also helpful to find out why a delay slot
could not be filled even though there is clearly a valid instruction (which
appears to mostly be caused by CFI instructions).

Reviewers: atanasyan

Reviewed By: atanasyan

Subscribers: merge_guards_bot, sdardis, hiraditya, jrtc27, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70940
llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp