Skip to content

Commit 2646ce2

Browse files
committed
[gn] port 522f34c (PPC AsmMatcher dep)
Similar to 4168a2e. See also comment on #113482.
1 parent e914421 commit 2646ce2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import("//llvm/utils/TableGen/tablegen.gni")
22

33
tablegen("PPCGenAsmMatcher") {
4-
visibility = [ ":AsmParser" ]
4+
visibility = [
5+
":AsmParser",
6+
"//llvm/lib/Target/PowerPC:LLVMPowerPCCodeGen",
7+
]
58
args = [ "-gen-asm-matcher" ]
69
td_file = "../PPC.td"
710
}

llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ static_library("LLVMPowerPCCodeGen") {
3737
":PPCGenFastISel",
3838
":PPCGenGlobalISel",
3939
":PPCGenRegisterBank",
40+
"AsmParser:PPCGenAsmMatcher",
4041
"MCTargetDesc",
4142
"TargetInfo",
4243
"//llvm/include/llvm/Config:llvm-config",

0 commit comments

Comments
 (0)