Redirect DataLayout from TargetMachine to Module in GlobalMerge
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:49:25 +0000 (18:49 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 7 Jul 2015 18:49:25 +0000 (18:49 +0000)
commita77796487bd15a92271a577d603d86e90df354d3
tree0eeb6b61bc67ddab8346c7278a89d3012677c3ea
parentd888ac430d71983b4484999c3651641964d0d702
Redirect DataLayout from TargetMachine to Module in GlobalMerge

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

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

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