[llvm] bb84e5e - [SelectionDAGISel] Drop unused variable (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 6 01:47:30 PDT 2022
Author: Nikita Popov
Date: 2022-07-06T10:46:13+02:00
New Revision: bb84e5eeffd156a6cb1cea905822376ab3d475b3
URL: https://github.com/llvm/llvm-project/commit/bb84e5eeffd156a6cb1cea905822376ab3d475b3
DIFF: https://github.com/llvm/llvm-project/commit/bb84e5eeffd156a6cb1cea905822376ab3d475b3.diff
LOG: [SelectionDAGISel] Drop unused variable (NFC)
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 76105b5c43c0..703d18dd4764 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -63,7 +63,6 @@
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/DiagnosticInfo.h"
-#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/IR/InstIterator.h"
@@ -403,8 +402,6 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
LibInfo = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(Fn);
GFI = Fn.hasGC() ? &getAnalysis<GCModuleInfo>().getFunctionInfo(Fn) : nullptr;
ORE = std::make_unique<OptimizationRemarkEmitter>(&Fn);
- auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>();
- DominatorTree *DT = DTWP ? &DTWP->getDomTree() : nullptr;
auto *PSI = &getAnalysis<ProfileSummaryInfoWrapperPass>().getPSI();
BlockFrequencyInfo *BFI = nullptr;
if (PSI && PSI->hasProfileSummary() && OptLevel != CodeGenOpt::None)
More information about the llvm-commits
mailing list