[PATCH] D78862: [IR] Convert null-pointer-is-valid into an enum attribute

Manoj Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 14:34:37 PDT 2020


manojgupta added a comment.

@nikic Thanks for the work.

In D78862#2003684 <https://reviews.llvm.org/D78862#2003684>, @arsenm wrote:

> FWIW I think this attribute should be replaced with a data layout property, so this would eventually be removed


@arsenm  Is there any work planned on moving to data layout? Moving to data layout may affect cross TU inlining e.g. LTO where 1 TU is compiled with `-fno-delete-null-pointer-checks` and other TU is not. There might be other potential impact that we might not know yet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78862





More information about the llvm-commits mailing list