Implement inalloca codegen for x86 with the new inalloca design
[oota-llvm.git] / docs / LangRef.rst
index 62ce112d5731eed53cabe636b856a6bde7ec3cb8..07e94a9f84e49e52041125c9b9a4a4a657d63d72 100644 (file)
@@ -792,7 +792,10 @@ Currently, only the following parameter attributes are defined:
     An argument allocation may be used by a call at most once because
     the call may deallocate it.  The ``inalloca`` attribute cannot be
     used in conjunction with other attributes that affect argument
-    storage, like ``inreg``, ``nest``, ``sret``, or ``byval``.
+    storage, like ``inreg``, ``nest``, ``sret``, or ``byval``.  The
+    ``inalloca`` attribute also disables LLVM's implicit lowering of
+    large aggregate return values, which means that frontend authors
+    must lower them with ``sret`` pointers.
 
     When the call site is reached, the argument allocation must have
     been the most recent stack allocation that is still live, or the