File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
llvm/utils/gn/secondary/llvm
tools/llvm-exegesis/lib/RISCV Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ tablegen("RISCVGenCompressInstEmitter") {
17
17
tablegen (" RISCVGenMacroFusion" ) {
18
18
visibility = [
19
19
" :LLVMRISCVCodeGen" ,
20
+ " //llvm/tools/llvm-exegesis/lib/RISCV" ,
20
21
" //llvm/unittests/Target/RISCV:RISCVTests" ,
21
22
]
22
23
args = [ " -gen-macro-fusion-pred" ]
@@ -69,7 +70,10 @@ tablegen("RISCVGenPostLegalizeGICombiner") {
69
70
}
70
71
71
72
tablegen (" RISCVGenRegisterBank" ) {
72
- visibility = [ " :LLVMRISCVCodeGen" ]
73
+ visibility = [
74
+ " :LLVMRISCVCodeGen" ,
75
+ " //llvm/tools/llvm-exegesis/lib/RISCV" ,
76
+ ]
73
77
args = [ " -gen-register-bank" ]
74
78
td_file = " RISCV.td"
75
79
}
Original file line number Diff line number Diff line change @@ -15,8 +15,14 @@ static_library("RISCV") {
15
15
16
16
# Exegesis reaches inside the Target/RISCV tablegen internals and must
17
17
# depend on these Target/RISCV-internal build targets.
18
+ " //llvm/lib/Target/RISCV:RISCVGenMacroFusion" ,
19
+ " //llvm/lib/Target/RISCV:RISCVGenRegisterBank" ,
18
20
" //llvm/lib/Target/RISCV/MCTargetDesc" ,
19
21
]
20
- sources = [ " Target.cpp" ]
22
+ sources = [
23
+ " RISCVExegesisPostprocessing.cpp" ,
24
+ " RISCVExegesisPreprocessing.cpp" ,
25
+ " Target.cpp" ,
26
+ ]
21
27
include_dirs = [ " //llvm/lib/Target/RISCV" ]
22
28
}
You can’t perform that action at this time.
0 commit comments