[gn build] (manually) port 6d45558c1a (MipsGenPostLegalizeGICombiner)

This commit is contained in:
Nico Weber 2022-04-15 07:05:15 -04:00
parent 46a13a0ef8
commit f097885b07
1 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,15 @@ tablegen("MipsGenMCPseudoLowering") {
td_file = "Mips.td"
}
tablegen("MipsGenPostLegalizeGICombiner") {
visibility = [ ":LLVMMipsCodeGen" ]
args = [
"-gen-global-isel-combiner",
"-combiners=MipsPostLegalizerCombinerHelper",
]
td_file = "Mips.td"
}
tablegen("MipsGenRegisterBank") {
visibility = [ ":LLVMMipsCodeGen" ]
args = [ "-gen-register-bank" ]
@ -43,6 +52,7 @@ static_library("LLVMMipsCodeGen") {
":MipsGenFastISel",
":MipsGenGlobalISel",
":MipsGenMCPseudoLowering",
":MipsGenPostLegalizeGICombiner",
":MipsGenRegisterBank",
"MCTargetDesc",
"TargetInfo",
@ -88,6 +98,7 @@ static_library("LLVMMipsCodeGen") {
"MipsMulMulBugPass.cpp",
"MipsOptimizePICCall.cpp",
"MipsOs16.cpp",
"MipsPostLegalizerCombiner.cpp",
"MipsPreLegalizerCombiner.cpp",
"MipsRegisterBankInfo.cpp",
"MipsRegisterInfo.cpp",