[PATCH] D19390: folding compares for distinct allocations

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 14:44:00 PDT 2016


anna added a comment.

Sanjoy pointed out a case that might cause the comparison of the pointer to itself to be incorrect, basically this check: `PI == ICI->getOperand(OtherIndex) ` is not enough. Will update the diff to take care of such cases


Repository:
  rL LLVM

http://reviews.llvm.org/D19390





More information about the llvm-commits mailing list