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)
commitf67321cb26010c9450fe385d4e1031b8523c148d
treecf896775d4f75e99ea4958a998410d428226c4f2
parent798f882b68d492a364c5962fcdd7af08a3ac34c9
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.

llvm-svn: 220193
llvm/include/llvm/IR/DataLayout.h
llvm/lib/IR/DataLayout.cpp