Skip to content

Commit a25111c

Browse files
committed
Attributor: Fix typo in function name
1 parent 90f914c commit a25111c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ const Value *stripAndAccumulateMinimalOffsets(
417417
AttributorAnalysis);
418418
}
419419

420-
static const Value *getMinimalBaseOfAccsesPointerOperand(
420+
static const Value *getMinimalBaseOfAccessPointerOperand(
421421
Attributor &A, const AbstractAttribute &QueryingAA, const Instruction *I,
422422
int64_t &BytesOffset, const DataLayout &DL, bool AllowNonInbounds = false) {
423423
const Value *Ptr = getPointerOperand(I, /* AllowVolatile */ false);
@@ -2129,7 +2129,7 @@ static int64_t getKnownNonNullAndDerefBytesForUse(
21292129

21302130
int64_t Offset;
21312131
const Value *Base =
2132-
getMinimalBaseOfAccsesPointerOperand(A, QueryingAA, I, Offset, DL);
2132+
getMinimalBaseOfAccessPointerOperand(A, QueryingAA, I, Offset, DL);
21332133
if (Base) {
21342134
if (Base == &AssociatedValue &&
21352135
getPointerOperand(I, /* AllowVolatile */ false) == UseV) {

0 commit comments

Comments
 (0)