[llvm] ecde13b - [gn build] port 7e50f006f7f6
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 18:15:08 PST 2024
Author: Nico Weber
Date: 2024-01-23T21:14:36-05:00
New Revision: ecde13b1a861696dec5c4ccae792abe25df07db9
URL: https://github.com/llvm/llvm-project/commit/ecde13b1a861696dec5c4ccae792abe25df07db9
DIFF: https://github.com/llvm/llvm-project/commit/ecde13b1a861696dec5c4ccae792abe25df07db9.diff
LOG: [gn build] port 7e50f006f7f6
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
index 12d45f1af1db8ec..78a9d20812ef9b5 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
@@ -63,12 +63,14 @@ static_library("LLVMX86CodeGen") {
"//llvm/lib/CodeGen/GlobalISel",
"//llvm/lib/CodeGen/SelectionDAG",
"//llvm/lib/IR",
+ "//llvm/lib/IRPrinter",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/TargetParser",
"//llvm/lib/Transforms/CFGuard",
"//llvm/lib/Transforms/Instrumentation",
+ "//llvm/lib/Transforms/Scalar",
]
include_dirs = [ "." ]
sources = [
@@ -83,6 +85,7 @@ static_library("LLVMX86CodeGen") {
"X86CallFrameOptimization.cpp",
"X86CallingConv.cpp",
"X86CmovConversion.cpp",
+ "X86CodeGenPassBuilder.cpp",
"X86CompressEVEX.cpp",
"X86DiscriminateMemOps.cpp",
"X86DomainReassignment.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
index 5cb3e69d9f1069a..a968760e1c2a356 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
@@ -7,7 +7,9 @@ executable("llc") {
"//llvm/lib/CodeGen/SelectionDAG",
"//llvm/lib/IR",
"//llvm/lib/IRReader",
+ "//llvm/lib/IRPrinter",
"//llvm/lib/MC",
+ "//llvm/lib/Passes",
"//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/Target:TargetsToBuild",
@@ -16,7 +18,10 @@ executable("llc") {
"//llvm/lib/Transforms/Utils",
"//llvm/lib/Transforms/Vectorize",
]
- sources = [ "llc.cpp" ]
+ sources = [
+ "NewPMDriver.cpp",
+ "llc.cpp",
+ ]
# Support plugins.
# FIXME: Disable dead stripping once other binaries are dead-stripped.
diff --git a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
index 0d406a4178c2373..8aff3e4d230e414 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
@@ -24,7 +24,6 @@ unittest("CodeGenTests") {
"AllocationOrderTest.cpp",
"AsmPrinterDwarfTest.cpp",
"CCStateTest.cpp",
- "CodeGenPassBuilderTest.cpp",
"DIEHashTest.cpp",
"DIETest.cpp",
"DwarfStringPoolEntryRefTest.cpp",
More information about the llvm-commits
mailing list