Skip to content

Commit 71c52e4

Browse files
committed
[gn build] Port 3fdb431
1 parent 202917f commit 71c52e4

File tree

1 file changed

+7
-1
lines changed
  • llvm/utils/gn/secondary/llvm/lib/Target/RISCV

1 file changed

+7
-1
lines changed

llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ tablegen("RISCVGenCompressInstEmitter") {
1414
td_file = "RISCV.td"
1515
}
1616

17+
tablegen("RISCVGenMacroFusion") {
18+
visibility = [ ":LLVMRISCVCodeGen" ]
19+
args = [ "-gen-macro-fusion-pred" ]
20+
td_file = "RISCV.td"
21+
}
22+
1723
tablegen("RISCVGenDAGISel") {
1824
visibility = [ ":LLVMRISCVCodeGen" ]
1925
args = [ "-gen-dag-isel" ]
@@ -71,6 +77,7 @@ static_library("LLVMRISCVCodeGen") {
7177
":RISCVGenDAGISel",
7278
":RISCVGenGlobalISel",
7379
":RISCVGenMCPseudoLowering",
80+
":RISCVGenMacroFusion",
7481
":RISCVGenO0PreLegalizeGICombiner",
7582
":RISCVGenPostLegalizeGICombiner",
7683
":RISCVGenPreLegalizeGICombiner",
@@ -116,7 +123,6 @@ static_library("LLVMRISCVCodeGen") {
116123
"RISCVInsertWriteVXRM.cpp",
117124
"RISCVInstrInfo.cpp",
118125
"RISCVMachineFunctionInfo.cpp",
119-
"RISCVMacroFusion.cpp",
120126
"RISCVMakeCompressible.cpp",
121127
"RISCVMergeBaseOffset.cpp",
122128
"RISCVMoveMerger.cpp",

0 commit comments

Comments
 (0)