[llvm] r285978 - Fix typo

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 20:00:52 PDT 2016


Author: davidxl
Date: Thu Nov  3 22:00:52 2016
New Revision: 285978

URL: http://llvm.org/viewvc/llvm-project?rev=285978&view=rev
Log:
Fix typo

Modified:
    llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Modified: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Inliner.cpp?rev=285978&r1=285977&r2=285978&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Thu Nov  3 22:00:52 2016
@@ -310,7 +310,7 @@ shouldBeDeferred(Function *Caller, CallS
     if (IC2.isAlways())
       continue;
 
-    // See if inlining or original callsite would erase the cost delta of
+    // See if inlining of the original callsite would erase the cost delta of
     // this callsite. We subtract off the penalty for the call instruction,
     // which we would be deleting.
     if (IC2.getCostDelta() <= CandidateCost) {




More information about the llvm-commits mailing list