[PATCH] D153753: ValueTracking: Handle ptrmask in isKnownNeverZero

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 07:47:01 PDT 2023


arsenm abandoned this revision.
arsenm added a comment.

In D153753#4448500 <https://reviews.llvm.org/D153753#4448500>, @fhahn wrote:

> I think you'd need to also check that there's at least one common non-null bit for both pointer and mask.

I got here because I wanted to handle this in computeKnownBits and was trying to craft a test, I guess I'll just directly do that instead


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

https://reviews.llvm.org/D153753



More information about the llvm-commits mailing list