From f097885b07435bb6cd64440ed23c60660024285e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 15 Apr 2022 07:05:15 -0400 Subject: [PATCH] [gn build] (manually) port 6d45558c1a05d (MipsGenPostLegalizeGICombiner) --- llvm/utils/gn/secondary/llvm/lib/Target/Mips/BUILD.gn | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/BUILD.gn index 055f2ae..d030c5e 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/BUILD.gn @@ -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", -- 2.7.4