diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-08 01:00:38 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-08 01:00:38 +0000 |
commit | ffc1402fad19695579b54e2dc02c0fe6cc76231a (patch) | |
tree | 6241e79492482d11b224b7224a54777d55c214d8 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | f50daedfc749615b59c25b116bb445d16b332b47 (diff) | |
download | bcm5719-llvm-ffc1402fad19695579b54e2dc02c0fe6cc76231a.tar.gz bcm5719-llvm-ffc1402fad19695579b54e2dc02c0fe6cc76231a.zip |
Remove IsLittleEndian from TargetLowering and redirect to DataLayout
Summary:
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.
Reviewers: echristo
Subscribers: llvm-commits, rafael, yaron.keren
Differential Revision: http://reviews.llvm.org/D11017
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 241655
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index 78492a6e881..807674123f3 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -750,7 +750,6 @@ TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) { initActions(); // Perform these initializations only once. - IsLittleEndian = getDataLayout()->isLittleEndian(); MaxStoresPerMemset = MaxStoresPerMemcpy = MaxStoresPerMemmove = 8; MaxStoresPerMemsetOptSize = MaxStoresPerMemcpyOptSize = MaxStoresPerMemmoveOptSize = 4; |