diff --git a/lib/IR/Module.cpp b/lib/IR/Module.cpp index 3d807144d6a..f938a92741a 100644 --- a/lib/IR/Module.cpp +++ b/lib/IR/Module.cpp @@ -63,7 +63,7 @@ Module::~Module() { /// Target endian information. Module::Endianness Module::getEndianness() const { StringRef temp = DataLayout; - Module::Endianness ret = AnyEndianness; + Module::Endianness ret = BigEndian; while (!temp.empty()) { std::pair P = getToken(temp, "-");