LTO: Maintain target triple, FeatureStr and CGOptLevel in the module or LTOCodeGenerator.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 22 Aug 2015 02:25:53 +0000 (02:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 22 Aug 2015 02:25:53 +0000 (02:25 +0000)
commitc0346c0fdc7a30c85cd9c00801522ebedd83abe5
tree91b948084f1228485e85a01ec4061e2dbb92c142
parent19110099c04a831dd1b47ee8084e48f516712d95
LTO: Maintain target triple, FeatureStr and CGOptLevel in the module or LTOCodeGenerator.

This makes it easier to create new TargetMachines on demand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245781 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LTO/LTOCodeGenerator.h
lib/LTO/LTOCodeGenerator.cpp