OSDN Git Service

[ParallelCG] Add a new splitCodeGen() API which takes a TargetMachineFactory.
authorDavide Italiano <davide@freebsd.org>
Fri, 15 Apr 2016 17:34:32 +0000 (17:34 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 15 Apr 2016 17:34:32 +0000 (17:34 +0000)
commitdb52b36ad2de03d0cde07b05b1820b93bb45f3fc
tree34bc2b9d6f06bd139310fc55e356d02af455c6e4
parentce5b591ff27ada39b31bd1f51a5e3e08b9ddb4d8
[ParallelCG] Add a new splitCodeGen() API which takes a TargetMachineFactory.

This is a recommit of r266390 with a fix that will allow tests to pass
(hopefully). Before we got a StringRef to M->getTargetTriple() and right
after we moved the Module so we were referencing a dangling object.

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