[PATCH] D46928: implantation example for new AliasAnalysis functions (getAddressesDistance + ModRefSameBuffer)
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 23:42:58 PDT 2018
xbolva00 added a comment.
Maybe add more ocumentation, examples how to use these new API?
================
Comment at: include/llvm/Analysis/BasicAliasAnalysis.h:91
+ // a pointer to the buffer, else returns nullptr.
+ bool ModRefSameBuffer(const MemoryLocation &LocA, int64_t ptr1Offset,
+ const MemoryLocation &LocB, int64_t ptr2Offset);
----------------
Fix comment, you return bool value.
Repository:
rL LLVM
https://reviews.llvm.org/D46928
More information about the llvm-commits
mailing list