[PATCH] D104806: [ScalarEvolution] Make getMinusSCEV() fail for unrelated pointers.

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 15:47:50 PDT 2021


reames added a comment.

This looks reasonable.  I'd probably still perfect we just special case the non-integral pointers here because I don't see any reason to harm LSR for integral ones, but if you really really want to treat all pointers the same, this looks acceptable.

Let's give it a day or two for discussion, but if we find nothing better, I'd be willing to LGTM this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104806/new/

https://reviews.llvm.org/D104806



More information about the llvm-commits mailing list