File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
utils/bazel/llvm-project-overlay/llvm Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -2058,6 +2058,9 @@ llvm_target_lib_list = [lib for lib in [
20582058 ("-gen-subtarget" , "lib/Target/RISCV/RISCVGenSubtargetInfo.inc" ),
20592059 ("-gen-searchable-tables" , "lib/Target/RISCV/RISCVGenSearchableTables.inc" ),
20602060 ],
2061+ "tbl_deps" : [
2062+ ":riscv_isel_target_gen" ,
2063+ ],
20612064 },
20622065 {
20632066 "name" : "VE" ,
@@ -2183,6 +2186,22 @@ gentbl(
21832186 ]),
21842187)
21852188
2189+ gentbl (
2190+ name = "riscv_isel_target_gen" ,
2191+ strip_include_prefix = "lib/Target/RISCV" ,
2192+ tbl_outs = [
2193+ ("-gen-global-isel-combiner -combiners=RISCVO0PreLegalizerCombiner" , "lib/Target/RISCV/RISCVGenO0PreLegalizeGICombiner.inc" ),
2194+ ("-gen-global-isel-combiner -combiners=RISCVPreLegalizerCombiner" , "lib/Target/RISCV/RISCVGenPreLegalizeGICombiner.inc" ),
2195+ ],
2196+ tblgen = ":llvm-tblgen" ,
2197+ td_file = "lib/Target/RISCV/RISCVGISel.td" ,
2198+ td_srcs = [
2199+ ":common_target_td_sources" ,
2200+ ] + glob ([
2201+ "lib/Target/RISCV/**/*.td" ,
2202+ ]),
2203+ )
2204+
21862205[[
21872206 [gentbl (
21882207 name = target ["name" ] + "CommonTableGen" ,
You can’t perform that action at this time.
0 commit comments