diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-09 01:57:34 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-09 01:57:34 +0000 |
commit | 56228dabfa51a3c810d258fcc1f2a8773c499c4d (patch) | |
tree | c5146dea93a4b557ce7c26f71cf005cbd0983701 /llvm/lib/Target/TargetMachine.cpp | |
parent | 890a0e5543924c3a83397607f9522a838e74bdcd (diff) | |
download | bcm5719-llvm-56228dabfa51a3c810d258fcc1f2a8773c499c4d.tar.gz bcm5719-llvm-56228dabfa51a3c810d258fcc1f2a8773c499c4d.zip |
Redirect DataLayout from TargetMachine to Module in ComputeValueVTs()
Summary:
Avoid using the TargetMachine owned DataLayout and use the Module owned
one instead. This requires passing the DataLayout up the stack to
ComputeValueVTs().
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: jholewinski, yaron.keren, rafael, llvm-commits
Differential Revision: http://reviews.llvm.org/D11019
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 241773
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions