Skip to content

Commit 72ff0ae

Browse files
committed
[Gardening] Improved owned canonicalization logs.
1 parent 874c7c8 commit 72ff0ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/SILOptimizer/Utils/CanonicalizeOSSALifetime.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,9 +978,10 @@ void CanonicalizeOSSALifetime::insertDestroysOnBoundary(
978978
auto *insertionPoint = &*successor->begin();
979979
insertDestroyBeforeInstruction(insertionPoint, getCurrentDef(),
980980
consumes, getCallbacks());
981-
LLVM_DEBUG(llvm::dbgs()
982-
<< " Destroy after terminator " << instruction
983-
<< " at beginning of " << successor << "\n");
981+
LLVM_DEBUG(llvm::dbgs() << " Destroy after terminator "
982+
<< *instruction << " at beginning of ";
983+
successor->printID(llvm::dbgs(), false);
984+
llvm::dbgs() << "\n";);
984985
}
985986
continue;
986987
}

0 commit comments

Comments
 (0)