[PATCH] D50730: [AST] Generalize argument specific aliasing

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 24 09:34:40 PDT 2018


reames added inline comments.


================
Comment at: lib/Analysis/AliasSetTracker.cpp:459
+    
+    ModRefInfo CallMask = ModRefInfo::ModRef;
+    auto MRB = AA.getModRefBehavior(CS);
----------------
I noticed there's a much better way to get a ModRefInfo from a FuncitonModRefBehavior.  I'll replace this stretch of code with a call to createModRefInfo(MRB);


https://reviews.llvm.org/D50730





More information about the llvm-commits mailing list