[PATCH] D29989: [BasicAA] Take attributes into account when requesting modref info for a call site

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 03:17:13 PST 2017


dberlin added inline comments.


================
Comment at: lib/Analysis/BasicAliasAnalysis.cpp:886
   // The AAResultBase base class has some smarts, lets use them.
-  return AAResultBase::getModRefInfo(CS, Loc);
+  return static_cast<ModRefInfo>(Result & AAResultBase::getModRefInfo(CS, Loc));
 }
----------------
Uh?


https://reviews.llvm.org/D29989





More information about the llvm-commits mailing list