diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2020-07-30 21:07:10 -0700 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2020-07-30 21:08:24 -0700 |
| commit | 89051ebacea72733ff7088cf09a760b1be707acf (patch) | |
| tree | d6c3c02920f3314f5686c3f715c37dec1fe16fe1 /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | |
| parent | 9f0225894254c4706519c85d6fc06c5382903fef (diff) | |
| download | llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.gz llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.bz2 llvm-89051ebacea72733ff7088cf09a760b1be707acf.zip | |
[NFC] GetUnderlyingObject -> getUnderlyingObject
I am going to touch them in the next patch anyway
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
| -rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index 566eba5c54af..645eb3d51371 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -576,7 +576,7 @@ MemDepResult MemoryDependenceResults::getSimplePointerDependencyFrom( // looking for a clobber in many cases; that's an alias property and is // handled by BasicAA. if (isa<AllocaInst>(Inst) || isNoAliasFn(Inst, &TLI)) { - const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL); + const Value *AccessPtr = getUnderlyingObject(MemLoc.Ptr, DL); if (AccessPtr == Inst || AA.isMustAlias(Inst, AccessPtr)) return MemDepResult::getDef(Inst); } |
