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

gn build: Merge r369467

llvm-svn: 369476
This commit is contained in:
Nico Weber 2019-08-20 23:49:12 +00:00
parent 7bf54af705
commit 7247cd5cf7

View File

@ -20,17 +20,31 @@ tablegen("RISCVGenDAGISel") {
td_file = "RISCV.td"
}
tablegen("RISCVGenGlobalISel") {
visibility = [ ":LLVMRISCVCodeGen" ]
args = [ "-gen-global-isel" ]
td_file = "RISCV.td"
}
tablegen("RISCVGenMCPseudoLowering") {
visibility = [ ":LLVMRISCVCodeGen" ]
args = [ "-gen-pseudo-lowering" ]
td_file = "RISCV.td"
}
tablegen("RISCVGenRegisterBank") {
visibility = [ ":LLVMRISCVCodeGen" ]
args = [ "-gen-register-bank" ]
td_file = "RISCV.td"
}
static_library("LLVMRISCVCodeGen") {
deps = [
":RISCVGenCompressInstEmitter",
":RISCVGenDAGISel",
":RISCVGenGlobalISel",
":RISCVGenMCPseudoLowering",
":RISCVGenRegisterBank",
"MCTargetDesc",
"TargetInfo",
"Utils",
@ -46,13 +60,17 @@ static_library("LLVMRISCVCodeGen") {
include_dirs = [ "." ]
sources = [
"RISCVAsmPrinter.cpp",
"RISCVCallLowering.cpp",
"RISCVExpandPseudoInsts.cpp",
"RISCVFrameLowering.cpp",
"RISCVISelDAGToDAG.cpp",
"RISCVISelLowering.cpp",
"RISCVInstrInfo.cpp",
"RISCVInstructionSelector.cpp",
"RISCVLegalizerInfo.cpp",
"RISCVMCInstLower.cpp",
"RISCVMergeBaseOffset.cpp",
"RISCVRegisterBankInfo.cpp",
"RISCVRegisterInfo.cpp",
"RISCVSubtarget.cpp",
"RISCVTargetMachine.cpp",