[llvm] d0e8d84 - [gn] port 3fdf46ad60f1 (RuntimeLibcalls.inc)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 29 13:05:40 PDT 2025


Author: Nico Weber
Date: 2025-06-29T22:05:24+02:00
New Revision: d0e8d84424fd5f2451f06e8569aaac1e05bc3b8e

URL: https://github.com/llvm/llvm-project/commit/d0e8d84424fd5f2451f06e8569aaac1e05bc3b8e
DIFF: https://github.com/llvm/llvm-project/commit/d0e8d84424fd5f2451f06e8569aaac1e05bc3b8e.diff

LOG: [gn] port 3fdf46ad60f1 (RuntimeLibcalls.inc)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn
index 87e58608617ae..7cf5a8148f929 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/IR/BUILD.gn
@@ -6,6 +6,12 @@ tablegen("Attributes") {
   tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
 }
 
+tablegen("RuntimeLibcalls") {
+  visibility = [ ":public_tablegen" ]
+  args = [ "-gen-runtime-libcalls" ]
+  tblgen_target = "//llvm/utils/TableGen:llvm-min-tblgen"
+}
+
 tablegen("IntrinsicImpl") {
   visibility = [ "//llvm/lib/IR" ]
   args = [ "-gen-intrinsic-impl" ]
@@ -117,6 +123,9 @@ group("public_tablegen") {
     # IR's public headers include IntrinsicEnums.inc.
     ":IntrinsicEnums",
 
+    # IR's public headers include RuntimeLibcalls.inc.
+    ":RuntimeLibcalls",
+
     # FIXME: These are only included from .cpp files at first glance.
     # Try removing them from the public_tablegen target.
     ":IntrinsicsAArch64",


        


More information about the llvm-commits mailing list