[PATCH] D11019: Redirect DataLayout from TargetMachine to Module in ComputeValueVTs()

Mehdi AMINI mehdi.amini at apple.com
Tue Jul 7 17:35:08 PDT 2015


joker.eph added a reviewer: echristo.
joker.eph added subscribers: llvm-commits, rafael, yaron.keren.
Herald added a subscriber: jholewinski.

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.

http://reviews.llvm.org/D11019

Files:
  include/llvm/CodeGen/Analysis.h
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/Analysis.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/AArch64/AArch64FastISel.cpp
  lib/Target/ARM/ARMFastISel.cpp
  lib/Target/Mips/MipsFastISel.cpp
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/PowerPC/PPCFastISel.cpp
  lib/Target/X86/X86FastISel.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11019.29226.patch
Type: text/x-patch
Size: 35522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150708/9d8bce32/attachment.bin>


More information about the llvm-commits mailing list