[llvm] 3c6fe0f - [BasicAA] Fix stale comment (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 17 15:02:59 PDT 2020
Author: Nikita Popov
Date: 2020-10-17T23:58:58+02:00
New Revision: 3c6fe0fc775781333eed591bf9e67e7c14810aa0
URL: https://github.com/llvm/llvm-project/commit/3c6fe0fc775781333eed591bf9e67e7c14810aa0
DIFF: https://github.com/llvm/llvm-project/commit/3c6fe0fc775781333eed591bf9e67e7c14810aa0.diff
LOG: [BasicAA] Fix stale comment (NFC)
DataLayout is always around...
Added:
Modified:
llvm/lib/Analysis/BasicAliasAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index 72ea8d0d2343..13157eee71ef 100644
--- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
@@ -411,11 +411,10 @@ static unsigned getMaxPointerSize(const DataLayout &DL) {
/// specified amount, but which may have other unrepresented high bits. As
/// such, the gep cannot necessarily be reconstructed from its decomposed form.
///
-/// When DataLayout is around, this function is capable of analyzing everything
-/// that getUnderlyingObject can look through. To be able to do that
-/// getUnderlyingObject and DecomposeGEPExpression must use the same search
-/// depth (MaxLookupSearchDepth). When DataLayout not is around, it just looks
-/// through pointer casts.
+/// This function is capable of analyzing everything that getUnderlyingObject
+/// can look through. To be able to do that getUnderlyingObject and
+/// DecomposeGEPExpression must use the same search depth
+/// (MaxLookupSearchDepth).
bool BasicAAResult::DecomposeGEPExpression(const Value *V,
DecomposedGEP &Decomposed, const DataLayout &DL, AssumptionCache *AC,
DominatorTree *DT) {
More information about the llvm-commits
mailing list