summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-11 11:00:37 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-05-11 11:00:37 +0000
commitaeed0a30c0ba69fb141e78d85270269fccf034a8 (patch)
treec516f0da0eeaadc28685d08ac3540657b4c925ca /llvm/lib
parent682cc09675b02167be04a925f805790d9c0ec1bf (diff)
downloadbcm5719-llvm-aeed0a30c0ba69fb141e78d85270269fccf034a8.tar.gz
bcm5719-llvm-aeed0a30c0ba69fb141e78d85270269fccf034a8.zip
SelectionDAGISel::CodeGenAndEmitDAG - remove unused variable. NFCI.
llvm-svn: 360514
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 61c9e5a5252..e76628435f7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -742,8 +742,6 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
StringRef GroupName = "sdag";
StringRef GroupDescription = "Instruction Selection and Scheduling";
std::string BlockName;
- int BlockNumber = -1;
- (void)BlockNumber;
bool MatchFilterBB = false; (void)MatchFilterBB;
#ifndef NDEBUG
TargetTransformInfo &TTI =
@@ -764,7 +762,6 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
ViewSUnitDAGs)
#endif
{
- BlockNumber = FuncInfo->MBB->getNumber();
BlockName =
(MF->getName() + ":" + FuncInfo->MBB->getBasicBlock()->getName()).str();
}
OpenPOWER on IntegriCloud