[PATCH] Change TargetLoweringObjectFile ownership

Aditya Nandakumar aditya_nandakumar at apple.com
Fri Oct 17 16:54:23 PDT 2014


This patch changes the ownership of TLOF from TargetLoweringBase to TargetMachine so that different subtargets could share the TLOF effectively.
I have made the change to X86 only currently and it passes make check. I could update the other targets after feedback.

Please review.

Thanks
Aditya

http://reviews.llvm.org/D5850

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/TargetLoweringBase.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86TargetMachine.cpp
  lib/Target/X86/X86TargetMachine.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5850.15104.patch
Type: text/x-patch
Size: 4800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141017/37e6534e/attachment.bin>


More information about the llvm-commits mailing list