[llvm] [BasicAA] Compute minimal access extents lazily (PR #226931)
Dávid Bolvanský via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 03:13:51 PDT 2026
================
@@ -120,8 +120,12 @@ static std::optional<TypeSize> getObjectSize(const Value *V,
/// Returns true if we can prove that the object specified by V is smaller than
/// Size. Bails out early unless the root object is passed as the first
/// parameter.
-static bool isObjectSmallerThan(const Value *V, TypeSize Size,
- const DataLayout &DL,
+static TypeSize getMinimalExtentFrom(const Value &V,
+ const LocationSize &LocSize,
+ const DataLayout &DL, bool NullIsValidLoc);
----------------
davidbolvansky wrote:
Yes, Done.
https://github.com/llvm/llvm-project/pull/226931
More information about the llvm-commits
mailing list