[LangRef] Document that DataLayout defaults to little-endian
authorFraser Cormack <fraser@codeplay.com>
Fri, 22 Oct 2021 14:19:25 +0000 (15:19 +0100)
committerFraser Cormack <fraser@codeplay.com>
Tue, 26 Oct 2021 09:54:23 +0000 (10:54 +0100)
Little-endian has apparently been the default since 2014.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D112316

llvm/docs/LangRef.rst

index 4303b9c..601911d 100644 (file)
@@ -2648,7 +2648,7 @@ default set of specifications which are then (possibly) overridden by
 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.