[PATCH] D112316: [LangRef][NFC] Document that DataLayout defaults to little-endian

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 22 07:38:48 PDT 2021


frasercrmck created this revision.
frasercrmck added a reviewer: chandlerc.
Herald added a subscriber: jdoerfert.
frasercrmck requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Little-endian has apparently been the default since 2014.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112316

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -2648,7 +2648,7 @@
 the specifications in the ``datalayout`` keyword. The default
 specifications are given in this list:
 
--  ``E`` - big endian
+-  ``e`` - little endian
 -  ``p:64:64:64`` - 64-bit pointers with 64-bit alignment.
 -  ``p[n]:64:64:64`` - Other address spaces are assumed to be the
    same as the default address space.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112316.381545.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/a5118083/attachment.bin>


More information about the llvm-commits mailing list