[llvm] 2646ce2 - [gn] port 522f34cfff693fd3f (PPC AsmMatcher dep)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 09:09:36 PDT 2024


Author: Nico Weber
Date: 2024-10-24T09:09:11-07:00
New Revision: 2646ce2a224c67435638a7d2ae72ba4e1a2c9f96

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

LOG: [gn] port 522f34cfff693fd3f (PPC AsmMatcher dep)

Similar to 4168a2e9de35f. See also comment on #113482.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
index 250ff3ae11cf61..34c88bed0738f8 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
@@ -1,7 +1,10 @@
 import("//llvm/utils/TableGen/tablegen.gni")
 
 tablegen("PPCGenAsmMatcher") {
-  visibility = [ ":AsmParser" ]
+  visibility = [
+    ":AsmParser",
+    "//llvm/lib/Target/PowerPC:LLVMPowerPCCodeGen",
+  ]
   args = [ "-gen-asm-matcher" ]
   td_file = "../PPC.td"
 }

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
index 4ebeaff28c14af..9e5ad929a3132f 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
@@ -37,6 +37,7 @@ static_library("LLVMPowerPCCodeGen") {
     ":PPCGenFastISel",
     ":PPCGenGlobalISel",
     ":PPCGenRegisterBank",
+    "AsmParser:PPCGenAsmMatcher",
     "MCTargetDesc",
     "TargetInfo",
     "//llvm/include/llvm/Config:llvm-config",


        


More information about the llvm-commits mailing list