[PATCH] D11021: Make TargetTransformInfo keeping a reference to the Module DataLayoutDataLayout is no longer optional. It was initialized with or withouta DataLayout, and the DataLayout when supplied could have been theone from the TargetMachine.

Mehdi AMINI mehdi.amini at apple.com
Tue Jul 7 17:51:32 PDT 2015


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

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

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/CodeGen/BasicTTIImpl.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/CodeGen/BasicTargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.h
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
  lib/Target/ARM/ARMTargetTransformInfo.cpp
  lib/Target/ARM/ARMTargetTransformInfo.h
  lib/Target/Mips/MipsTargetMachine.cpp
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  lib/Target/NVPTX/NVPTXTargetTransformInfo.h
  lib/Target/PowerPC/PPCTargetTransformInfo.h
  lib/Target/SystemZ/SystemZTargetTransformInfo.h
  lib/Target/TargetMachine.cpp
  lib/Target/X86/X86TargetTransformInfo.h
  lib/Target/XCore/XCoreTargetMachine.cpp
  lib/Target/XCore/XCoreTargetTransformInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11021.29228.patch
Type: text/x-patch
Size: 22731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150708/dfc4e236/attachment.bin>


More information about the llvm-commits mailing list