[PATCH] D44781: [IR] Add function pointer alignment to DataLayout

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 07:45:14 PDT 2018


rogfer01 added inline comments.


================
Comment at: docs/LangRef.rst:1948
     This specifies the alignment for an object of aggregate type.
+``F<abi>``
+    This specifies the alignment for function pointers.
----------------
Perhaps we want to clarify that if it is not specified (or it is zero) function pointers will be aligned as regular pointers ("p" above). Is my interpretation correct here?


https://reviews.llvm.org/D44781





More information about the llvm-commits mailing list