[llvm] c3dce37 - [LangRef] Document that DataLayout defaults to little-endian

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 03:03:01 PDT 2021


Author: Fraser Cormack
Date: 2021-10-26T10:54:23+01:00
New Revision: c3dce37a55e1aac60ac371a596dee8f7591d77ea

URL: https://github.com/llvm/llvm-project/commit/c3dce37a55e1aac60ac371a596dee8f7591d77ea
DIFF: https://github.com/llvm/llvm-project/commit/c3dce37a55e1aac60ac371a596dee8f7591d77ea.diff

LOG: [LangRef] Document that DataLayout defaults to little-endian

Little-endian has apparently been the default since 2014.

Reviewed By: nikic

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

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 4303b9c9659a..601911d1e035 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -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.


        


More information about the llvm-commits mailing list