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

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 14:21:00 PST 2017

dberlin accepted this revision.
dberlin added a comment.
This revision is now accepted and ready to land.

Somewhere on my todo list is to cleanup getModRefInfo, and make  getModRefInfo the only interface memssa uses.
Right now, it has to differentiate between calls, fences, and other things to call the right versions.

Interestingly, fences are the only memory modification instruction we have that has no location, and if you call memorylocation::get on them, we crash.


More information about the llvm-commits mailing list