[PATCH] D109647: [AA] Consider globalmemonly in getModRefInfo()
Mugilan Ganesan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 11 11:36:50 PDT 2021
MugilanGN created this revision.
MugilanGN added a reviewer: jdoerfert.
Herald added subscribers: dexonsmith, hiraditya.
MugilanGN requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If a function is GlobalMemOnly and a memory location does not point to a global object, getModRefInfo can infer that no aliasing between the function and the location can occur.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109647
Files:
llvm/include/llvm/Analysis/AliasAnalysis.h
llvm/include/llvm/IR/Function.h
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/Analysis/AliasAnalysis.cpp
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/test/Analysis/BasicAA/globalmemonly.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109647.372088.patch
Type: text/x-patch
Size: 6290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210911/45d1154b/attachment.bin>
More information about the llvm-commits
mailing list