[gn build] port 7059a6c32c

This commit is contained in:
Nico Weber 2022-11-18 06:48:07 -05:00
parent d8306b8885
commit 63f79fe2eb
4 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,7 @@ static_library("CodeGen") {
"//llvm/lib/Frontend/HLSL",
"//llvm/lib/IR",
"//llvm/lib/IRReader",
"//llvm/lib/IRPrinter",
"//llvm/lib/LTO",
"//llvm/lib/Linker",
"//llvm/lib/MC",

View File

@ -0,0 +1,8 @@
static_library("IRPrinter") {
output_name = "LLVMIRPrinter"
deps = [
"//llvm/lib/IR",
"//llvm/lib/Support",
]
sources = [ "IRPrintingPasses.cpp" ]
}

View File

@ -4,6 +4,7 @@ static_library("Passes") {
"//llvm/lib/Analysis",
"//llvm/lib/CodeGen",
"//llvm/lib/IR",
"//llvm/lib/IRPrinter",
"//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/Transforms/AggressiveInstCombine",

View File

@ -5,6 +5,7 @@ executable("opt") {
"//llvm/lib/Bitcode/Writer",
"//llvm/lib/CodeGen",
"//llvm/lib/IR",
"//llvm/lib/IRPrinter",
"//llvm/lib/MC",
"//llvm/lib/Passes",
"//llvm/lib/Support",