Skip to content

Commit d0e8d84

Browse files
committed
[gn] port 3fdf46a (RuntimeLibcalls.inc)
1 parent ed25d47 commit d0e8d84

File tree

1 file changed

+9
-0
lines changed
  • llvm/utils/gn/secondary/llvm/include/llvm/IR

1 file changed

+9
-0
lines changed

llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ tablegen("Attributes") {
66
tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
77
}
88

9+
tablegen("RuntimeLibcalls") {
10+
visibility = [ ":public_tablegen" ]
11+
args = [ "-gen-runtime-libcalls" ]
12+
tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
13+
}
14+
915
tablegen("IntrinsicImpl") {
1016
visibility = [ "//llvm/lib/IR" ]
1117
args = [ "-gen-intrinsic-impl" ]
@@ -117,6 +123,9 @@ group("public_tablegen") {
117123
# IR's public headers include IntrinsicEnums.inc.
118124
":IntrinsicEnums",
119125

126+
# IR's public headers include RuntimeLibcalls.inc.
127+
":RuntimeLibcalls",
128+
120129
# FIXME: These are only included from .cpp files at first glance.
121130
# Try removing them from the public_tablegen target.
122131
":IntrinsicsAArch64",

0 commit comments

Comments
 (0)