[llvm] [IR] Allow nofree on return values (PR #203491)

Ralf Jung via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 05:02:52 PDT 2026


================

----------------
RalfJung wrote:

Due to how this was incoherent for a long time, would it make sense to update the `dereferenceable` attribute docs to explicitly say that this means "dereferenceable at the moment the argument/return value is passed (but may be freed later at any point)"?

https://github.com/llvm/llvm-project/pull/203491


More information about the llvm-commits mailing list