summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-11-04 03:00:52 +0000
committerXinliang David Li <davidxl@google.com>2016-11-04 03:00:52 +0000
commitf450b88191ce3b37c7bcc1a2258ca94027573c86 (patch)
tree1b16f663f9dcccf7daa1352a2f5c68d0dd21f7ac /llvm
parented76d10038b778f2ba790f524e3c78f11908d746 (diff)
downloadbcm5719-llvm-f450b88191ce3b37c7bcc1a2258ca94027573c86.tar.gz
bcm5719-llvm-f450b88191ce3b37c7bcc1a2258ca94027573c86.zip
Fix typo
llvm-svn: 285978
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index 5e05398d382..097d1c3039e 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -310,7 +310,7 @@ shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
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) {
OpenPOWER on IntegriCloud