[PATCH] D42209: [ModRefInfo] Return NoModRef for Must and NoModRef.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 15:54:27 PST 2018


asbirlea created this revision.
asbirlea added a reviewer: sanjoy.
Herald added a subscriber: jlebar.

In ModRefInfo "Must" was introduced to track presence of MustAlias, but we still want to return NoModRef when there is neither Mod or Ref, even when MustAlias is found. Patch has small fixes to ensure this happens.
Minor cleanup to compact 2 if statements into one when calling getModRefInfo for 2 ImmutableCallSites.


Repository:
  rL LLVM

https://reviews.llvm.org/D42209

Files:
  lib/Analysis/AliasAnalysis.cpp
  lib/Analysis/BasicAliasAnalysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42209.130306.patch
Type: text/x-patch
Size: 8399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/3459383a/attachment.bin>


More information about the llvm-commits mailing list