[llvm] [Target] Remove unneeded deps after 050470e75fb67bfb059a88db87ab5b2be… (PR #218840)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 22:51:54 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-nvptx
Author: Aiden Grossman (boomanaiden154)
<details>
<summary>Changes</summary>
…96e7515
After 050470e75fb67bfb059a88db87ab5b2be96e7515, these dependencies are no longer needed as the need for them is no specific to the Passes library given that's where a big chunk of the CodeGenPassBuilder implementation lives now.
---
Full diff: https://github.com/llvm/llvm-project/pull/218840.diff
7 Files Affected:
- (modified) llvm/lib/Target/BPF/CMakeLists.txt (-2)
- (modified) llvm/lib/Target/Lanai/CMakeLists.txt (-3)
- (modified) llvm/lib/Target/MSP430/CMakeLists.txt (-5)
- (modified) llvm/lib/Target/NVPTX/CMakeLists.txt (-2)
- (modified) llvm/lib/Target/RISCV/CMakeLists.txt (-2)
- (modified) llvm/lib/Target/WebAssembly/CMakeLists.txt (-2)
- (modified) llvm/lib/Target/X86/CMakeLists.txt (-2)
``````````diff
diff --git a/llvm/lib/Target/BPF/CMakeLists.txt b/llvm/lib/Target/BPF/CMakeLists.txt
index 2fb60e0b7591a..ddff969890eff 100644
--- a/llvm/lib/Target/BPF/CMakeLists.txt
+++ b/llvm/lib/Target/BPF/CMakeLists.txt
@@ -54,11 +54,9 @@ add_llvm_target(BPFCodeGen
CodeGen
CodeGenTypes
Core
- IRPrinter
GlobalISel
IPO
MC
- ObjCARC
Passes
Scalar
SelectionDAG
diff --git a/llvm/lib/Target/Lanai/CMakeLists.txt b/llvm/lib/Target/Lanai/CMakeLists.txt
index 79ac0d049d533..65dab116b2cc0 100644
--- a/llvm/lib/Target/Lanai/CMakeLists.txt
+++ b/llvm/lib/Target/Lanai/CMakeLists.txt
@@ -38,14 +38,11 @@ add_llvm_target(LanaiCodeGen
CodeGen
CodeGenTypes
Core
- IRPrinter
LanaiAsmParser
LanaiDesc
LanaiInfo
MC
- ObjCARC
Passes
- Scalar
SelectionDAG
Support
Target
diff --git a/llvm/lib/Target/MSP430/CMakeLists.txt b/llvm/lib/Target/MSP430/CMakeLists.txt
index efe0222fe42ec..e1a741c251a30 100644
--- a/llvm/lib/Target/MSP430/CMakeLists.txt
+++ b/llvm/lib/Target/MSP430/CMakeLists.txt
@@ -31,23 +31,18 @@ add_llvm_target(MSP430CodeGen
MSP430MCInstLower.cpp
LINK_COMPONENTS
- Analysis
AsmPrinter
CodeGen
CodeGenTypes
Core
- IRPrinter
MC
MSP430Desc
MSP430Info
- ObjCARC
Passes
- Scalar
SelectionDAG
Support
Target
TargetParser
- TransformUtils
ADD_TO_COMPONENT
MSP430
diff --git a/llvm/lib/Target/NVPTX/CMakeLists.txt b/llvm/lib/Target/NVPTX/CMakeLists.txt
index 1887fa0999844..8eb3471fa4fb2 100644
--- a/llvm/lib/Target/NVPTX/CMakeLists.txt
+++ b/llvm/lib/Target/NVPTX/CMakeLists.txt
@@ -62,11 +62,9 @@ add_llvm_target(NVPTXCodeGen
CodeGenTypes
Core
IPO
- IRPrinter
MC
NVPTXDesc
NVPTXInfo
- ObjCARC
Passes
Scalar
SelectionDAG
diff --git a/llvm/lib/Target/RISCV/CMakeLists.txt b/llvm/lib/Target/RISCV/CMakeLists.txt
index a3423acbde89c..e1e705ede1af0 100644
--- a/llvm/lib/Target/RISCV/CMakeLists.txt
+++ b/llvm/lib/Target/RISCV/CMakeLists.txt
@@ -96,9 +96,7 @@ add_llvm_target(RISCVCodeGen
Core
GlobalISel
IPO
- IRPrinter
MC
- ObjCARC
Passes
RISCVDesc
RISCVInfo
diff --git a/llvm/lib/Target/WebAssembly/CMakeLists.txt b/llvm/lib/Target/WebAssembly/CMakeLists.txt
index 6bd8988d10363..e96ac48aa00cb 100644
--- a/llvm/lib/Target/WebAssembly/CMakeLists.txt
+++ b/llvm/lib/Target/WebAssembly/CMakeLists.txt
@@ -88,10 +88,8 @@ add_llvm_target(WebAssemblyCodeGen
CodeGen
CodeGenTypes
Core
- IRPrinter
GlobalISel
MC
- ObjCARC
Passes
Scalar
SelectionDAG
diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt
index bbf9b7d0c1767..a053eb8501701 100644
--- a/llvm/lib/Target/X86/CMakeLists.txt
+++ b/llvm/lib/Target/X86/CMakeLists.txt
@@ -108,13 +108,11 @@ add_llvm_target(X86CodeGen ${sources}
CodeGenTypes
Core
GlobalISel
- IRPrinter
Instrumentation
MC
ObjCARC
Passes
ProfileData
- Scalar
SelectionDAG
Support
Target
``````````
</details>
https://github.com/llvm/llvm-project/pull/218840
More information about the llvm-commits
mailing list