[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
llvm/utils/gn/secondary/llvm/lib/Target/AArch64

View File

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