[PATCH] D27473: Bring back note about not supporting global register variables

Michael Kuperstein via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 12 11:22:07 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL289455: Bring back note about not supporting global register variables. (authored by mkuper).

Changed prior to commit:
  https://reviews.llvm.org/D27473?vs=80450&id=81113#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27473

Files:
  cfe/trunk/docs/UsersManual.rst


Index: cfe/trunk/docs/UsersManual.rst
===================================================================
--- cfe/trunk/docs/UsersManual.rst
+++ cfe/trunk/docs/UsersManual.rst
@@ -1830,6 +1830,10 @@
      ...
      local_function(1);
 
+-  clang only supports global register variables when the register specified
+   is non-allocatable (e.g. the stack pointer). Support for general global
+   register variables is unlikely to be implemented soon because it requires
+   additional LLVM backend support.
 -  clang does not support static initialization of flexible array
    members. This appears to be a rarely used extension, but could be
    implemented pending user demand.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27473.81113.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161212/ec9b657c/attachment.bin>


More information about the cfe-commits mailing list