[llvm] [IR] Allow nofree metadata to inttoptr (PR #153149)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 00:50:40 PDT 2025


================
@@ -8481,6 +8481,14 @@ specific. The behavior is undefined if the runtime memory address does
 resolve to an object defined in one of the indicated address spaces.
 
 
+'``nofree``' Metadata
+^^^^^^^^^^^^^^^^^^^^^
+
+The ``nofree`` metadata indicates the memory pointed by the pointer will not be
+freed during the execution of the function . This is analogous to the ``nofree``
----------------
nikic wrote:

```suggestion
freed during the execution of the function. This is analogous to the ``nofree``
```

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


More information about the llvm-commits mailing list