[BasicAA] Fix stale comment (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Oct 2020 20:09:32 +0000 (22:09 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 17 Oct 2020 21:58:58 +0000 (23:58 +0200)
DataLayout is always around...

llvm/lib/Analysis/BasicAliasAnalysis.cpp

index 72ea8d0..13157ee 100644 (file)
@@ -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) {