[PATCH] D142584: [CodeGen] Add a boolean flag to `Address::getPointer` and `Lvalue::getPointer` that indicates whether the pointer is known not to be null

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 27 10:44:01 PST 2023


ahatanak added a comment.

There are more places where we know contextually the pointer can't be null and can set the bit to `KnownNonNull` or set the bit of an `LValue` or `Address` using an existing `Address`'s KnownNonNull bit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142584



More information about the cfe-commits mailing list