]> granicus.if.org Git - llvm/commitdiff
[InlineCost] Add more debug during inline cost computation.
authorChad Rosier <mcrosier@codeaurora.org>
Mon, 21 Aug 2017 19:56:46 +0000 (19:56 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Mon, 21 Aug 2017 19:56:46 +0000 (19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311370 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/InlineCost.cpp

index 6f5770b1cb278afeda86609b668d5504c83f0b43..1567a6863b272f1551da6c8e91341b2cbef866ce 100644 (file)
@@ -1700,7 +1700,7 @@ InlineCost llvm::getInlineCost(
     return llvm::InlineCost::getNever();
 
   DEBUG(llvm::dbgs() << "      Analyzing call of " << Callee->getName()
-                     << "...\n");
+                     << "... (caller:" << Caller->getName() << ")\n");
 
   CallAnalyzer CA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, *Callee, CS,
                   Params);