[llvm] 98cf656 - [gn build] Port 64972834c193
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 12:47:56 PDT 2024
Author: Nico Weber
Date: 2024-09-17T15:47:22-04:00
New Revision: 98cf6560ab6df885b6e21463f6a0a1fa5cea1eea
URL: https://github.com/llvm/llvm-project/commit/98cf6560ab6df885b6e21463f6a0a1fa5cea1eea
DIFF: https://github.com/llvm/llvm-project/commit/98cf6560ab6df885b6e21463f6a0a1fa5cea1eea.diff
LOG: [gn build] Port 64972834c193
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
index 67451c04dcef62..1bc8ebc9ded1f3 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
@@ -68,6 +68,15 @@ tablegen("RISCVGenPostLegalizeGICombiner") {
td_file = "RISCVGISel.td"
}
+tablegen("RISCVGenPostLegalizeGILowering") {
+ visibility = [ ":LLVMRISCVCodeGen" ]
+ args = [
+ "-gen-global-isel-combiner",
+ "-combiners=RISCVPostLegalizerLowering",
+ ]
+ td_file = "RISCVGISel.td"
+}
+
tablegen("RISCVGenRegisterBank") {
visibility = [ ":LLVMRISCVCodeGen" ]
args = [ "-gen-register-bank" ]
@@ -83,6 +92,7 @@ static_library("LLVMRISCVCodeGen") {
":RISCVGenMacroFusion",
":RISCVGenO0PreLegalizeGICombiner",
":RISCVGenPostLegalizeGICombiner",
+ ":RISCVGenPostLegalizeGILowering",
":RISCVGenPreLegalizeGICombiner",
":RISCVGenRegisterBank",
@@ -109,6 +119,7 @@ static_library("LLVMRISCVCodeGen") {
"GISel/RISCVLegalizerInfo.cpp",
"GISel/RISCVO0PreLegalizerCombiner.cpp",
"GISel/RISCVPostLegalizerCombiner.cpp",
+ "GISel/RISCVPostLegalizerLowering.cpp",
"GISel/RISCVPreLegalizerCombiner.cpp",
"GISel/RISCVRegisterBankInfo.cpp",
"RISCVAsmPrinter.cpp",
More information about the llvm-commits
mailing list