summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-27 18:41:46 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-27 18:41:46 +0000
commitaa55507ff94dee3b011d9d7e47a2002abf0b017c (patch)
treecc32e38e8d1bddaad89d96e34a9c17ab1d62e7a0 /llvm/lib/Transforms
parent8a23638da41ecd34a2e92a859aa337db0aa1161c (diff)
downloadbcm5719-llvm-aa55507ff94dee3b011d9d7e47a2002abf0b017c.tar.gz
bcm5719-llvm-aa55507ff94dee3b011d9d7e47a2002abf0b017c.zip
Tidy a comment. NFC.
llvm-svn: 251434
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/SampleProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp
index d8f8eb8b1a3..49ebf6555b6 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -805,7 +805,7 @@ unsigned SampleProfileLoader::getFunctionLoc(Function &F) {
if (DISubprogram *S = getDISubprogram(&F))
return S->getLine();
- // If could not find the start of \p F, emit a diagnostic to inform the user
+ // If the start of \p F is missing, emit a diagnostic to inform the user
// about the missed opportunity.
F.getContext().diagnose(DiagnosticInfoSampleProfile(
"No debug information found in function " + F.getName() +
OpenPOWER on IntegriCloud