[PATCH] D68706: [InstCombine] don't assume 'inbounds' for bitcast deref or null pointer in non-default address space

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 08:26:32 PDT 2019


lebedev.ri added a comment.

You want `llvm::NullPointerIsDefined()`, which also checks for `"null-pointer-is-valid"` attribute.


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

https://reviews.llvm.org/D68706





More information about the llvm-commits mailing list