Skip to content

Commit f0f46e2

Browse files
committed
[bazel] Port 3fdf46a
1 parent b989c76 commit f0f46e2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ cc_binary(
655655
"utils/TableGen/Basic/DirectiveEmitter.cpp",
656656
"utils/TableGen/Basic/IntrinsicEmitter.cpp",
657657
"utils/TableGen/Basic/RISCVTargetDefEmitter.cpp",
658+
"utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp",
658659
"utils/TableGen/Basic/SDNodeProperties.cpp",
659660
"utils/TableGen/Basic/SDNodeProperties.h",
660661
"utils/TableGen/Basic/SequenceToOffsetTable.h",
@@ -758,6 +759,14 @@ gentbl_cc_library(
758759
deps = [":CommonTargetTdFiles"],
759760
)
760761

762+
gentbl_cc_library(
763+
name = "runtime_libcalls_gen",
764+
tbl_outs = {"include/llvm/IR/RuntimeLibcalls.inc": ["-gen-runtime-libcalls"]},
765+
tblgen = ":llvm-min-tblgen",
766+
td_file = "include/llvm/IR/RuntimeLibcalls.td",
767+
deps = [":IRTdFiles"],
768+
)
769+
761770
gentbl_cc_library(
762771
name = "vt_gen",
763772
tbl_outs = {"include/llvm/CodeGen/GenVT.inc": ["-gen-vt"]},
@@ -964,7 +973,6 @@ cc_library(
964973
copts = llvm_copts,
965974
textual_hdrs = glob([
966975
"include/llvm/IR/*.def",
967-
"lib/IR/*.def",
968976
]),
969977
deps = [
970978
":BinaryFormat",
@@ -976,6 +984,7 @@ cc_library(
976984
":config",
977985
":intrinsic_enums_gen",
978986
":intrinsics_impl_gen",
987+
":runtime_libcalls_gen",
979988
],
980989
)
981990

0 commit comments

Comments
 (0)