forked from OSchip/llvm-project
[NFC][LoopFusion] Fix printing of the guard branch.
Reviewer: kbarton, jdoerfert Reviewed By: jdoerfert Subscribers: hiraditya, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D71878
This commit is contained in:
parent
6d88b7d6e7
commit
d1f41b2ca9
|
@ -257,7 +257,12 @@ struct FusionCandidate {
|
|||
|
||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||
LLVM_DUMP_METHOD void dump() const {
|
||||
dbgs() << "\tGuardBranch: "
|
||||
dbgs() << "\tGuardBranch: ";
|
||||
if (GuardBranch)
|
||||
dbgs() << *GuardBranch;
|
||||
else
|
||||
dbgs() << "nullptr";
|
||||
dbgs() << "\n"
|
||||
<< (GuardBranch ? GuardBranch->getName() : "nullptr") << "\n"
|
||||
<< "\tPreheader: " << (Preheader ? Preheader->getName() : "nullptr")
|
||||
<< "\n"
|
||||
|
|
Loading…
Reference in New Issue