[PATCH] D23214: [MDA] Treat invariant.start as non-dependence

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 22:15:48 PDT 2016


anna added a comment.

Changing the code to teach Alias analysis (instead of MDA) about the readonly nature of MDA. All the tests are still valid (and checks remain the same). 
getModRefInfo is used by MDA, so the implications on the various passes (GVN, Memcpyopt and DSE) should be the same, it’s just that the code change will be within the same code region where other special cases for llvm.assume and guard intrinsics exist.

Making the change in alias analysis rather than MDA stemmed from the discussion in llvm-commits mailing list with dberlin and sanjoy.


https://reviews.llvm.org/D23214





More information about the llvm-commits mailing list