[PATCH] D20665: Claim NoAlias if two GEPs index different fields of the same struct

Taewook Oh via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 20:10:17 PDT 2016


twoh added a comment.

@sanjoy Yes I missed the case of the index value being negative as well (Ahmed pointed out the same point as well in the mailing list). Although it may not be hard to fix the patch to check the sign of indexes, I think it is not worth because this patch has other problems (what Eli pointed) as well.


Repository:
  rL LLVM

http://reviews.llvm.org/D20665





More information about the llvm-commits mailing list