From: Nikita Popov Date: Sat, 17 Oct 2020 20:09:32 +0000 (+0200) Subject: [BasicAA] Fix stale comment (NFC) X-Git-Tag: llvmorg-13-init~8998 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c6fe0fc775781333eed591bf9e67e7c14810aa0;p=platform%2Fupstream%2Fllvm.git [BasicAA] Fix stale comment (NFC) DataLayout is always around... --- diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp index 72ea8d0..13157ee 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) {