OSDN Git Service

Switch the default DataLayout to be little endian, and make the variable
authorChandler Carruth <chandlerc@gmail.com>
Mon, 20 Oct 2014 10:41:29 +0000 (10:41 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 20 Oct 2014 10:41:29 +0000 (10:41 +0000)
commit34b45cdb95338b245abd20a3b0eeca923ef651eb
treea9a25425003350aeac8878a6bec8981aa9e67b20
parentd413989edb520cd2a026338fe41a91dc69dcb3a5
Switch the default DataLayout to be little endian, and make the variable
be BigEndian so the default can continue to be zero-initialized.

This is one of the prerequisites to making DataLayout a constant and
always available part of every module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220193 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
lib/IR/DataLayout.cpp