Redirect DataLayout from TargetMachine to Module in MachineFunction
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:20:57 +0000 (18:20 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:20:57 +0000 (18:20 +0000)
commit33c4d685e313997b3b3fd7f3589821e528f9ec45
treee3dc87e1a9fe173ed3db0be6b732b29421f83083
parentd0c71cfdf65efcace112e1836aaabcf6aad6d0f6
Redirect DataLayout from TargetMachine to Module in MachineFunction

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/D10984

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241610 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineConstantPool.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/MachineFunction.cpp