[llvm] [IR] LangRef: document behavior of double-lifetime.start (PR #184296)

Ralf Jung via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 05:02:41 PST 2026


================
@@ -27734,7 +27721,8 @@ Arguments:
 """"""""""
 
 The argument is either a pointer to an ``alloca`` instruction or a ``poison``
----------------
RalfJung wrote:

I think I realize now that was is meant here is that *in the underlying data structure that represents the IR*, the argument must be such a pointer. That's very confusing since typically, we talk about the IR at th level of an AST, so I thought the "pointer" it refers to here is ``ptr``, and "pointer to alloca instruction" was basically a typo and should say "pointer to stack allocation".

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


More information about the llvm-commits mailing list