aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 21:33:54 -0700
committerGitHub <noreply@github.com>2025-05-04 21:33:54 -0700
commitaa15596b5f2cb5b89a2ba7b46b154351bea2d3c9 (patch)
treec2859a54c75188922b9f8b243fc80e65a8653034 /llvm/lib/LTO/LTO.cpp
parent9a7e307b64b52fac74df9d1f7c2696939e4627f1 (diff)
downloadllvm-aa15596b5f2cb5b89a2ba7b46b154351bea2d3c9.zip
llvm-aa15596b5f2cb5b89a2ba7b46b154351bea2d3c9.tar.gz
llvm-aa15596b5f2cb5b89a2ba7b46b154351bea2d3c9.tar.bz2
[llvm] Remove unused local variables (NFC) (#138478)
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 613e2d9..f827692 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -634,7 +634,6 @@ void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
auto *ResI = Res.begin();
auto *ResE = Res.end();
(void)ResE;
- const Triple TT(RegularLTO.CombinedModule->getTargetTriple());
for (const InputFile::Symbol &Sym : Syms) {
assert(ResI != ResE);
SymbolResolution Res = *ResI++;