1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

ParallelCG.h - replace TargetMachine.h include with forward declaration. NFC.

We need to include memory.h as it was being implicitly included.

Also remove unused llvm::TargetOptions forward declaration.
This commit is contained in:
Simon Pilgrim 2020-04-12 12:36:02 +01:00
parent 5c020096c8
commit 9c7f74d33b

View File

@ -14,15 +14,14 @@
#define LLVM_CODEGEN_PARALLELCG_H
#include "llvm/Support/CodeGen.h"
#include "llvm/Target/TargetMachine.h"
#include <functional>
#include <memory>
namespace llvm {
template <typename T> class ArrayRef;
class Module;
class TargetOptions;
class TargetMachine;
class raw_pwrite_stream;
/// Split M into OSs.size() partitions, and generate code for each. Takes a