[llvm] 3beafec - [InlineAdvisor] Remove outdated comment (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 9 06:12:08 PST 2021
Author: Nikita Popov
Date: 2021-12-09T15:11:56+01:00
New Revision: 3beafecedfd3c6bd48c2e806bc4a2c1f3a881958
URL: https://github.com/llvm/llvm-project/commit/3beafecedfd3c6bd48c2e806bc4a2c1f3a881958
DIFF: https://github.com/llvm/llvm-project/commit/3beafecedfd3c6bd48c2e806bc4a2c1f3a881958.diff
LOG: [InlineAdvisor] Remove outdated comment (NFC)
This just returns None nowadays, so this comment doesn't apply
anymore.
Added:
Modified:
llvm/lib/Analysis/InlineAdvisor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/InlineAdvisor.cpp b/llvm/lib/Analysis/InlineAdvisor.cpp
index 73d1eff1b9683..ce34c8440db52 100644
--- a/llvm/lib/Analysis/InlineAdvisor.cpp
+++ b/llvm/lib/Analysis/InlineAdvisor.cpp
@@ -409,8 +409,6 @@ llvm::shouldInline(CallBase &CB,
<< "' in other contexts";
});
setInlineRemark(CB, "deferred");
- // IC does not bool() to false, so get an InlineCost that will.
- // This will not be inspected to make an error message.
return None;
}
More information about the llvm-commits
mailing list