[PATCH] D110745: Redefine deref(N) attribute family as point-in-time semantics (aka deref-at-point)

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 1 03:26:37 PDT 2021


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

Sorry, but the fact that there is still no way to opt-in to the old behavior is still a blocker from my side. If we can't use `dereferenceable + nofree` arguments for that purpose, then we need to provide a different way to do that. Like `dereferenceable + really_nofree`. It looks like the current implementation doesn't even accept the `dereferenceable + nofree + noalias` case originally proposed (which is pretty bad from a design perspective, but would at least work fairly well for rustc in practice). I don't think that our current analysis capabilities are sufficient to land this change at this time.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110745



More information about the cfe-commits mailing list