[llvm] ea155b9 - [Analysis] Remove unused declaration isGEPBaseAtNegativeOffset (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 1 07:53:30 PDT 2021
Author: Kazu Hirata
Date: 2021-08-01T07:53:16-07:00
New Revision: ea155b995c98f821471516f9f6ae62c32c4d23b2
URL: https://github.com/llvm/llvm-project/commit/ea155b995c98f821471516f9f6ae62c32c4d23b2
DIFF: https://github.com/llvm/llvm-project/commit/ea155b995c98f821471516f9f6ae62c32c4d23b2.diff
LOG: [Analysis] Remove unused declaration isGEPBaseAtNegativeOffset (NFC)
The corresponding function definition was removed on Mar 3, 2021 in
commit ea7d208b780657c236986d7dfd7ba577583fd99a.
Added:
Modified:
llvm/include/llvm/Analysis/BasicAliasAnalysis.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/BasicAliasAnalysis.h b/llvm/include/llvm/Analysis/BasicAliasAnalysis.h
index 991c0cbb642a..39ae5ff2028f 100644
--- a/llvm/include/llvm/Analysis/BasicAliasAnalysis.h
+++ b/llvm/include/llvm/Analysis/BasicAliasAnalysis.h
@@ -187,10 +187,6 @@ class BasicAAResult : public AAResultBase<BasicAAResult> {
DecomposeGEPExpression(const Value *V, const DataLayout &DL,
AssumptionCache *AC, DominatorTree *DT);
- static bool isGEPBaseAtNegativeOffset(const GEPOperator *GEPOp,
- const DecomposedGEP &DecompGEP, const DecomposedGEP &DecompObject,
- LocationSize ObjectAccessSize);
-
/// A Heuristic for aliasGEP that searches for a constant offset
/// between the variables.
///
More information about the llvm-commits
mailing list