[PATCH] D66079: [SimplifyLibCalls] Add dereferenceable bytes from known callsites

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 16:42:33 PDT 2019


jdoerfert added a comment.

In D66079#1630512 <https://reviews.llvm.org/D66079#1630512>, @xbolva00 wrote:

> Edit: maybe we can just add deref or null (C) to malloc ret value and it would do the right thing easily.


Yes! That is what we should do.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66079





More information about the llvm-commits mailing list