Skip to content

Commit

Permalink
[LangRef] Document that DataLayout defaults to little-endian
Browse files Browse the repository at this point in the history
Little-endian has apparently been the default since 2014.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D112316
  • Loading branch information
frasercrmck committed Oct 26, 2021
1 parent 74b2a4e commit c3dce37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/docs/LangRef.rst
Expand Up @@ -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.
Expand Down

0 comments on commit c3dce37

Please sign in to comment.