[llvm] a25111c - Attributor: Fix typo in function name
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 4 08:25:30 PST 2021
Author: Matt Arsenault
Date: 2021-12-04T11:25:22-05:00
New Revision: a25111c9e2d9069248109429d0e2c091e2fd02e9
URL: https://github.com/llvm/llvm-project/commit/a25111c9e2d9069248109429d0e2c091e2fd02e9
DIFF: https://github.com/llvm/llvm-project/commit/a25111c9e2d9069248109429d0e2c091e2fd02e9.diff
LOG: Attributor: Fix typo in function name
Added:
Modified:
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
index ec08287393de7..416c2ee450794 100644
--- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -417,7 +417,7 @@ const Value *stripAndAccumulateMinimalOffsets(
AttributorAnalysis);
}
-static const Value *getMinimalBaseOfAccsesPointerOperand(
+static const Value *getMinimalBaseOfAccessPointerOperand(
Attributor &A, const AbstractAttribute &QueryingAA, const Instruction *I,
int64_t &BytesOffset, const DataLayout &DL, bool AllowNonInbounds = false) {
const Value *Ptr = getPointerOperand(I, /* AllowVolatile */ false);
@@ -2129,7 +2129,7 @@ static int64_t getKnownNonNullAndDerefBytesForUse(
int64_t Offset;
const Value *Base =
- getMinimalBaseOfAccsesPointerOperand(A, QueryingAA, I, Offset, DL);
+ getMinimalBaseOfAccessPointerOperand(A, QueryingAA, I, Offset, DL);
if (Base) {
if (Base == &AssociatedValue &&
getPointerOperand(I, /* AllowVolatile */ false) == UseV) {
More information about the llvm-commits
mailing list