[PATCH] D28914: [AliasAnalysis] Fences do not modify constant memory location

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 14:17:01 PST 2017


anna added a comment.

Hi Daniel,

In https://reviews.llvm.org/D28914#650775, @dberlin wrote:

> Even though most AA related calls will crash trying to get a memorylocation from the fence, this looks right..


I've seen the lack of memory locations in optimizations when using `memssa` version for optimizations. So, in such cases, it would still return `ModRef`.


https://reviews.llvm.org/D28914





More information about the llvm-commits mailing list