[gn build] Manually port 5b158093e

This commit is contained in:
Arthur Eubanks 2021-05-07 17:54:32 -07:00
parent 6aaf06f929
commit d82bc9e81d
1 changed files with 11 additions and 0 deletions

View File

@ -18,6 +18,15 @@ tablegen("AArch64GenFastISel") {
td_file = "AArch64.td"
}
tablegen("AArch64GenO0PreLegalizeGICombiner") {
visibility = [ ":LLVMAArch64CodeGen" ]
args = [
"-gen-global-isel-combiner",
"-combiners=AArch64O0PreLegalizerCombinerHelper",
]
td_file = "AArch64.td"
}
tablegen("AArch64GenGlobalISel") {
visibility = [ ":LLVMAArch64CodeGen" ]
args = [ "-gen-global-isel" ]
@ -70,6 +79,7 @@ static_library("LLVMAArch64CodeGen") {
":AArch64GenFastISel",
":AArch64GenGlobalISel",
":AArch64GenMCPseudoLowering",
":AArch64GenO0PreLegalizeGICombiner",
":AArch64GenPostLegalizeGICombiner",
":AArch64GenPostLegalizeGILowering",
":AArch64GenPreLegalizeGICombiner",
@ -140,6 +150,7 @@ static_library("LLVMAArch64CodeGen") {
"GISel/AArch64GlobalISelUtils.cpp",
"GISel/AArch64InstructionSelector.cpp",
"GISel/AArch64LegalizerInfo.cpp",
"GISel/AArch64O0PreLegalizerCombiner.cpp",
"GISel/AArch64PostLegalizerCombiner.cpp",
"GISel/AArch64PostLegalizerLowering.cpp",
"GISel/AArch64PostSelectOptimize.cpp",