[PATCH] Add a note to LangRef about static allocas.

Sean Silva chisophugis at gmail.com
Tue Jul 1 15:03:14 PDT 2014


Hi all, the distinction between static and non-static (or "dynamic")
allocas seems to be something that people reading the alloca section of
LangRef would be interested in.

This terminology (which stems from the name of AllocaInst::isStaticAlloca
AFAICT) has percolated into the documentation (docs/InAlloca.rst) and is a
distinction whose precise conditions are worth calling out explicitly to
people looking up the alloca instruction.

I wrote up a small note describing this, largely modeled after the doxygen
on AllocaInst::isStaticAlloca.

Does this seem worthwhile? Any other ideas of where to put mention of it?

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/532185c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static-alloca.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/532185c7/attachment.bin>


More information about the llvm-commits mailing list