1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/lib/Target/RISCV
Matthias Braun 7b8d690af1 TargetPassConfig: Keep a reference to an LLVMTargetMachine; NFC
TargetPassConfig is not useful for targets that do not use the CodeGen
library, so we may just as well store a pointer to an
LLVMTargetMachine instead of just to a TargetMachine.

While at it, also change the constructor to take a reference instead of a
pointer as the TM must not be nullptr.

llvm-svn: 304247
2017-05-30 21:36:41 +00:00
..
MCTargetDesc
TargetInfo
CMakeLists.txt
LLVMBuild.txt
RISCV.td
RISCVInstrFormats.td
RISCVInstrInfo.td
RISCVRegisterInfo.td
RISCVTargetMachine.cpp TargetPassConfig: Keep a reference to an LLVMTargetMachine; NFC 2017-05-30 21:36:41 +00:00
RISCVTargetMachine.h