[PATCH] D102820: [Clang] Check for returns_nonnull when deciding to add allocation null checks

Di Mo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 20 13:45:16 PDT 2021


modimo added a subscriber: urnathan.
modimo added a comment.

Discussing with @urnathan this makes more sense for the BE to handle when optimizing by eliding the generated null check. Confirmed this is indeed the case so removing the generation in the FE isn't really needed.


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

https://reviews.llvm.org/D102820



More information about the cfe-commits mailing list