Redirect DataLayout from TargetMachine to Module in FastISel
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:39:02 +0000 (18:39 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:39:02 +0000 (18:39 +0000)
commit26a2a4b4ed98c11c84eeb2cae13128ccc10bd1c9
tree185b98d5db4945d0965b9ddb4d9be07bbe2fef30
parentf869ca86f1d2e44040806eeaae624009896bf0cc
Redirect DataLayout from TargetMachine to Module in FastISel

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

Differential Revision: http://reviews.llvm.org/D10985

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241613 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp