summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2015-07-08 01:00:38 +0000
committerMehdi Amini <mehdi.amini@apple.com>2015-07-08 01:00:38 +0000
commitffc1402fad19695579b54e2dc02c0fe6cc76231a (patch)
tree6241e79492482d11b224b7224a54777d55c214d8 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parentf50daedfc749615b59c25b116bb445d16b332b47 (diff)
downloadbcm5719-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.cpp1
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;
OpenPOWER on IntegriCloud